Selwyn
Selwyn

Reputation: 1621

Creating folder on ftp if does not exist

I am interested to find out how to perform FTP asynchronously..

I am calling one method from the main view and then the main view navigates to some other view. Now the method that is called should perform the ftp process in the background without any issue.

I am not able to achieve this: http://www.iphonedevsdk.com/forum/iphone-sdk-development/41143-beginnersquestion-simpleftp-example.html

http://developer.apple.com/library/ios/#samplecode/SimpleFTPSample/Listings/URLGetController_h.html#//apple_ref/doc/uid/DTS40009243-URLGetController_h-DontLinkElementID_15

I have referenced this but is there any other way to do the FTP process?

I have files in a queue which are ftp one after the other in the async method.

Upvotes: 0

Views: 933

Answers (1)

Ryan
Ryan

Reputation: 312

I am sorry i am able to assist with your code but i can help with the ftp command side of things, if would recommend to try and changing into the directory that you are looking for with using CWD <\dirname> and look for the response: 550 <\dirname>: No such file or directory.

When you have recieved this response you will then be able to create the directory with using the command of MKD <\dirname> to create a directory.

Hope this helps ..

Upvotes: 1

Related Questions