开发者

QNetworkAccessmanager vs cURL for ftp upload

I have written a simple ftp uploader in C++ with qt using QNetworkAccessManager's put request

its is working as it should but im not happy with the upload speed i get.

i utilize 80% of my upload line while with filezilla i get 100%

The problem is (at least thats what i think) that Qt using only one connection to upload the data while Filezilla uses multiple connections.

I am considering switching to cURL for the ftp uploads.

Finally my question is: Is curl fa开发者_运维百科st?? does it support multiple ftp upload connectionsfor o single file upload??

To clarify i want to know if while uploading ONE file cURL uses multiple connections to the ftp server to achieve better speads.

if not any suggestions for a library that does that would be wellcome thank you for your time.


cURL allows multi sessions whereby it can perform multiple transfers concurrently.

Cannot really comment though on whether it is fast. The network interaction is likely to be your bottleneck whichever you use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜