• 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: "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


  • Follow-Ups:
    • Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
      • From: "Amit Jain" <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>)

  • Prev by Date: Re: NSTextFieldCell Subclass for Image+Text, any faster way?
  • Next by Date: Re: External kill of an NSThread?
  • Previous by thread: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
  • Next by thread: Re: "-(BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:(id)handler" doesnt work properly when file copied across network.
  • Index(es):
    • Date
    • Thread