Hi Daniel

Thanks for your reply.

Neigher users nor I run the app in VirtualBox. This is an ordinary desktop 
application being run on desktop operating systems running on "bare metal".

Regards
________________________________
From: curl-library <curl-library-boun...@cool.haxx.se> on behalf of Daniel 
Jeliński via curl-library <curl-library@cool.haxx.se>
Sent: Wednesday, July 17, 2019 12:59 PM
To: libcurl development
Cc: Daniel Jeliński
Subject: Re: How to do optimal FTP upload for multiple files?

> Slowness was reported by few users on Windows 10 x64. Slowness (and, in other 
> case, timeouts) were reported against couple of totally different FTP servers 
> around the globe. At least 5 different (from my user's logs) servers run by 
> different companies, so unfortunately there's no way to blame them here. Only 
> my use of libcurl.

Hi Taras,
Long time ago when I was tuning curl behavior on Windows, we found
that Windows running on Virtualbox with network adapter mode set to
NAT (the default) does not provide us with the optimal buffer size,
and upload speeds suffer because of that [1]. Back then, switching
Virtualbox to bridged adapter mode allowed curl to work at expected
speeds.

This problem only happens for programs using non-blocking sockets,
which may explain why other programs manage to run fast.

Let me know if that helps.

Daniel

[1] https://curl.haxx.se/mail/lib-2018-08/0073.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to