• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >"-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network. (From: "Amit Jain" <email@hidden>)
 >Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network. (From: "Philip Q" <email@hidden>)

  • Prev by Date: Re: External kill of an NSThread?
  • Next by Date: detecting the USB drives
  • Previous by thread: Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
  • Next by thread: detecting the USB drives
  • Index(es):
    • Date
    • Thread