Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
- Subject: Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
- From: "Amit Jain" <email@hidden>
- Date: Tue, 21 Nov 2006 17:28:52 +0530
Hi Phil,
Thanks for quick response, there was no other activity going on through
network.
And still exactly double amount of data sent is shown in the activity
monitor.
and regarding SMB i think it is not that much heavy protocol that it will
always double the data sent on network activity monitor?
-Amit
On 11/21/06, Philip Q <email@hidden> wrote:
On 21/11/06, Amit Jain <email@hidden> wrote:
> Hi All,
> The problem is that when I copied a file from source(mac) to
> destination(windows, through network connection) then the files were
copied
> successfully but when I saw the network usage in activity monitor then
the
> data sent was just double the actual size of the source file.
> But the size of transferred file was same(i.e. equal to actual size).
Only
> the network activity was doubled.
This is probably just the protocol overhead from the protocol
(presumably SMB, which is a very traffic-heavy protocol) used to
connect to your Windows machine.
And since you were just gauging activity from Activity Monitor, you're
probably also seeing traffic from other applications on your Mac (and
other broadcast traffic on your network) there too. If you need a more
accurate measurement, try a tool such as ethereal.
-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden