login about faq

success = [ftp AsyncPutFileStart: localFilename remoteFilename: remoteFilename]; while (ftp.AsyncFinished != YES) { NSLog(@"%d%@",[ftp.AsyncBytesSent intValue],@" bytes sent"); NSLog(@"%d%@",[ftp.UploadTransferRate intValue],@" bytes per second"); // Sleep 1 second. [ftp SleepMs: [NSNumber numberWithInt: 1000]]; }

How can i force to stop Async subprocess?

I've try to "[ftp Disconnect];" and "[ftp AsyncAbort];" No solution???

asked Jun 19 '15 at 08:11

antonio3ds's gravatar image

antonio3ds
11


FTP Upload/Download Async -> Force Stop

success = [ftp AsyncPutFileStart: localFilename remoteFilename: remoteFilename]; while (ftp.AsyncFinished != YES) { NSLog(@"%d%@",[ftp.AsyncBytesSent intValue],@" bytes sent"); NSLog(@"%d%@",[ftp.UploadTransferRate intValue],@" bytes per second"); // Sleep 1 second. [ftp SleepMs: [NSNumber numberWithInt: 1000]]; }

How can i force to stop Async subprocess?

I've try to "[ftp Disconnect];" and "[ftp AsyncAbort];" No solution???

link

answered Jun 19 '15 at 08:12

antonio3ds's gravatar image

antonio3ds
11

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×131

Asked: Jun 19 '15 at 08:11

Seen: 492 times

Last updated: Jun 19 '15 at 08:12

powered by OSQA