简体   繁体   中英

IOS SimpleFTPExample - upload multiple images

I am really new here. Can someone guide me to modify the SimpleFTPExample from Apple to upload multiple files. As in the example i can upload 1 image now.

Should I use threads? or any other way?

some examples are greatly appreciated!

SimpleFTPExample - https://developer.apple.com/library/ios/samplecode/SimpleFTPSample/Introduction/Intro.html

If like ftp, the -i argument disables interactive prompting during transfers of multiple files. Again, if like ftp, to transfer multiple files, after establishing a connection, you'd use mput or mget, and wildcards.

ftp -i ftp://remote.server.ftp

mput directory/*

mget remote_directory/*files.mp?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM