cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl ftps

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 28 Feb 2011 11:06:18 -0800

On Fri, Feb 25, 2011 at 07:17:29PM -0500, kalin m wrote:
> i've been trying to use curl to upload a file to an ftps machine with
> a filezilla server. and it always hangs at the time of the actual file
> transfer. i would need some help to figure out why...
>
> here is what happens:
>
> # curl -vvvv -T test4 --ftp-ssl -d -k -3 --cacert 'tatts.crt' 'ftps://user:pass_at_xx.xx.xx.xx/in/'

Implicit SSL FTP is not well standardized, so it's not surprising you're
finding issues. Some servers are set up on port 990 with stunnel, so it's
impossible to encrypt data traffic with those. Those servers do the
equivalent of --ftp-ssl-control. If you don't need the data traffic
encrypted, try adding that option. The best route would be to use explicit
SSL; since you already have the --ftp-ssl option, just change the ftps:// to
ftp:// and see what happens.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-28