object-c implements ftp upload
高洛峰
高洛峰 2017-05-02 09:24:55
0
1
588

1. How to implement ftp upload using native objective-c without using third-party libraries?
2. This is an official solution: https://developer.apple.com/library/ios/documentation/Networking/Conceptual/CFNetwork/CFFTPTasks/CFFTPTasks.html#//apple_ref/doc/uid/TP30001132-CH9-SW2

typedef struct MyStreamInfo {
 
    CFWriteStreamRef  writeStream;
    CFReadStreamRef   readStream;
    CFDictionaryRef   proxyDict;
    SInt64            fileSize;
    UInt32            totalBytesWritten;
    UInt32            leftOverByteCount;
    UInt8             buffer[kMyBufferSize];
 
} MyStreamInfo;

3. Who can give me some advice?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
Peter_Zhu

You can do it with a native socket. I remember back then I used PHP’s Socket to implement the FTP client natively. Not difficult

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template