qt - I need help using FTP to upload files with C++ -


i've been looking way upload file using ftp c++.

i'm using qt, looked built-in function, they're complicated me , don't understand explanations on pages or examples.

this example: http://doc.qt.io/qt-5/qtnetwork-download-example.html

i tried use curl, when tried compile example gave me bunch of errors don't understand following:

this curl example: http://curl.haxx.se/libcurl/c/ftpupload.html

this error when tried compile:

...ftpuploader\ftpupload.cpp:35: error: invalid conversion 'void*' 'file* {aka _iobuf*}' [-fpermissive]    size_t retcode = fread(ptr, size, nmemb, stream);                                                   ^ 

i feel lost, welcome, either in fixing curl error or helping me understand how use qt functions handle ftp.

go trusted ftp filezilla or other. files secure. rather making y


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -