cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTPS Upload Times Out/Fails

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Aug 2008 22:26:15 +0200 (CEST)

On Wed, 27 Aug 2008, Matt Warner wrote:

> curl --ftp-ssl-control --disable-eprt --disable-epsv --insecure -v -T
> file.txt "ftps://user:pass_at_remotesite:990/incoming/file.txt"
>
> I do not know which FTP server they're using. However, using --ftp-ssl with
> "ftp://" does *not* work, and I have to actually pass -Q "prot p" for
> downloads (which seem to work).

All that fiddling really implies a non-standard FTPS server and then of course
things are a bit harder.

> 0000: STOR file.txt
> <= Recv header, 50 bytes (0x32)
> 0000: 150 Accepted data connection from **omitted**
> => Send data, 16384 bytes (0x4000)
> **data omitted**
> == Info: FTP response timeout
> == Info: control connection looks dead

So how large is the file? Does it look like the whole file gets sent?

Using curl 7.18.2 with a revent SSL lib?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-28