cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1183 curl FTP upload performance degration version 7.28.1

From: Daniel Theron <blackcat101_at_users.sf.net>
Date: Thu, 07 Mar 2013 17:18:17 +0000

Hi Daniel,

I have tested downloading multiple files and the same 1 second pause occur per file.

I think I have found where the bug resides (by using curl v7.28.1).
Here is the command & parameters I have used:
curl --connect-timeout 10 -B --retry 3 --retry-max-time 6 --ftp-port - --crlf -# -T "{ascii_unix_file1,ascii_unix_file2,ascii_unix_file3}" -u athed:Helpme12 ftp://172.21.2.232/test_case_dir/
This will pause 1 second per file when uploading. (but with v7.29.1-20130302 snapshot it will hang then error curl: (25) Failed FTP upload: 451)

But when removing the "--ftp-port -" parameters, it uploads each file without doing a 1 second pause per file. (v7.28.1 & v7.29.1-20130302)

I have tested the previous versions of curl and finally got to the version where this bug came in: 7.24.0

Hope you can find the bug easily now :)

Thanks
Daniel

---
** [bugs:#1183] curl FTP upload performance degration version 7.28.1**
**Status:** open
**Labels:** performance 
**Created:** Thu Jan 17, 2013 07:15 AM UTC by Daniel Theron
**Last Updated:** Tue Feb 05, 2013 09:44 PM UTC
**Owner:** Daniel Stenberg
Hi There,
I am in the process upgrading curl from version 7.19.6 to version 7.28.1 on our Solaris 10 servers. I have written a unix script to do file upload tests with ftp & sftp, and with different file types like binary and ascii (dos and unix).
With the script I noticed ftp uploads take about 2 to 3 times longer with version 7.28.1 compared to 7.19.6. sftp upload speeds seems to be ok.
Here is the technical details:
$ uname -a
SunOS M3000-dev-1 5.10 Generic_147440-25 sun4u sparc SUNW,SPARC-Enterprise
CURL latest version - slow with ftp uploads
$ curl --version
curl 7.28.1 (sparc-sun-solaris2.10) libcurl/7.28.1 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
CURL older version - fast ftp upload speeds
$ curl --version
curl 7.19.6 (sparc-sun-solaris2.10) libcurl/7.19.6 OpenSSL/0.9.8x zlib/1.2.7 libidn/1.25 libssh2/1.4.3
Protocols: tftp ftp telnet dict http file https ftps scp sftp
Features: IDN IPv6 Largefile NTLM SSL libz
I will attach the script, it uploads 3x 250K binary files with sftp&ftp, 3x 25K ascii (dos & unix) with sftp&ftp
Let me know if you need more info
Thanks,
Daniel
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1183/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>
Received on 2013-03-07

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET