Question:
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???
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???