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: "Philip Q" <email@hidden>
- Date: Wed, 22 Nov 2006 00:35:37 +1300
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