File transfer over the air with iPad

2019-03-02 18:09发布

问题:

I have an iPad app that outputs a PDF file that needs to be uploaded to a remote server. What are my options here? Is there a sFTP or FTP implementation for iOS that would help me achieve this? Can it be done using other protocol?

Thanks!

回答1:

FTP Client Wrapper in Objective-C for iPhone

ConnectionKit (might not be iOS compatible)



回答2:

How about HTTP? http://www.cocoadev.com/index.pl?HTTPFileUpload

EDIT: SCP using libssh2? http://www.libssh2.org/examples/scp_write.html



回答3:

This on costs money: http://www.chilkatsoft.com/ssh-sftp-objc.asp

Haven't tried it myself yet.

(And a duplicate on SO: Upload file from iphone using SFTP protocol)