• 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
Terminate File Copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Terminate File Copy


  • Subject: Terminate File Copy
  • From: Aalok <email@hidden>
  • Date: Wed, 28 Jun 2006 20:19:23 +0530

Hi,

In my application, I transfer files from mac to windows(smb). I
dispatch a separate thread to the transfer and my UI runs on the main
thread.

I have a Cancel functionality in the application. Now when a file is
under transfer
(using [fileManager copyPath:filePath toPath:destination handler:nil])
and I press cancel(I set a flag for that), the actual file transfer
doesn't stop for that file. The thread terminates after that file
transfer is complete. And it doesn't transfer anymore files.

I want the functionality which, on Cancel, terminates ongoing file
transfer also.

Is it possible? If there is some other approach to do that please advice.

regards,

aalok
_______________________________________________
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: Terminate File Copy
      • From: "Sean McBride" <email@hidden>
    • Re: Terminate File Copy
      • From: "Alan Smith" <email@hidden>
  • Prev by Date: Re: Distributed Objects and Bonjour
  • Next by Date: Re: Login Item
  • Previous by thread: Re: Sorting ABPerson array with NSSortDescriptors
  • Next by thread: Re: Terminate File Copy
  • Index(es):
    • Date
    • Thread