libcurl.dll   7.13.0.0   2/17/2005  612 KB
LibCurlShim.dll     2/17/2005      68 KB
LicCurlNet.dll  1.3.0.0  2/17/2005 48 KB

curl -T c:\temp\out.txt -u xxxxxx:yyyyyyyy --verbose -k 
ftps://24.205.201.101/out14.txt


C:\Temp>curl --version
curl 7.33.0 (x86_64-pc-win32) libcurl/7.33.0 OpenSSL/0.9.8y zlib/1.2.8 
libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp 
sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate Largefile NTLM SSL SSPI libz


Thanks,

Perry

-----Original Message-----
From: curl-library [mailto:[email protected]] On Behalf Of Dan 
Fandrich
Sent: Friday, May 01, 2015 8:55 AM
To: [email protected]
Subject: Re: .Net library Timeout Issue

On Thu, Apr 30, 2015 at 06:47:30PM -0400, Perry Schwalb wrote:
> I am trying to use the .Net library to upload a file via FTPS to a 
> FileZilla server.

Which .Net library?  Which libcurl version?

> I am able to upload the file via curl from the command line, but not 
> via my program.
> 
> Below is the logging prior to the time out.
> 
> 2015-04-30 17:16:37.7940 Avreo.Zip.Core.FileTransporter Doing the 
> SSL/TLS handshake on the data stream
> 
> 2015-04-30 17:16:37.7940 Avreo.Zip.Core.FileTransporter SSL re-using 
> session ID
> 
> 2015-04-30 17:16:37.7940 Avreo.Zip.Core.FileTransporter SSLv3, TLS 
> handshake, Client hello (1):
> 
> 2015-04-30 17:16:37.8070 Avreo.Zip.Core.FileTransporter   I 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━ UBC¸¾f o°uc-        ,HzY."?o
> 
> [1]Séil??c   :XëÖ|??l©-z{@ ×"
> 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> ━━━━━━━━━
> ¤?ToL>n× 4uO [1] 5
> 
> 2015-04-30 17:16:37.8070 Avreo.Zip.Core.FileTransporter SSL connection 
> timeout
>  
> 
> I have the following options set:
> 
> CURLOPT_VERBOSE, CURLOPT_UPLOAD, CURLOPT_URL(ftps://ipaddr/file.txt),
> CURLOPT_USERPWD (user:pwd), CURLOPT_SSL_VERIFYPEER (0), 
> CURLOPT_SSL_VERIFYHOST (0), CURLOPT_SSL_VERIFYHOST(10)

What options did you use on the curl command-line that was successful? Was it 
the same libcurl version as your .net library?

> Any suggestions would be greatly appreciated.

Try enabling debug logging in your program and find out exactly at what stage 
it's failing, for a start.  Then compare the log with the equivalent one made 
by your curl command-line and see where the differences are.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to