cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Downloading from ftp interrupted

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 9 Nov 2013 12:38:49 +0100

On Thu, Nov 07, 2013 at 10:37:01AM +0000, Michele Mor wrote:
> I am trying to download a file from an FTP using cURL, but I had the following
> error:
> 2013/11/07 09:41:36 - FTPFirst2.bat - (stderr) curl: (56) SSL read:
> error:00000000:lib(0):func(0):reason(0), errno 10054
>
> OS: Windows 7 - 64.
> version  : 7.33.0 RTMP SSH2 SSL SSPI LIBZ WINIDN
>
> My CLI is:
> C:\"Program Files"\curl\curl --insecure ftps://
> username:password_at_ftpservice.company.co.uk:990/POLICY.txt.rar -o "C:\Work\Data\
> Downloads\first\POLICY.rar"
>
> Downloading smaller files from the same ftp is OK.
> Note that using Filezilla the file is downloaded without any issue.
>
> Is it because cURL is less lenient about "closed connection" or other stuff
> (NOTE I'm guessing because I'm no expert at all) ?
> Is there any option that I can change to force cURL to keep downloading the
> file until is completed?

It could be an SSL incompatibility of some sort. What SSL back-end is your curl
using? Have you tried the -3, -1 or --ssl-allow-beast options?

>>> 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 2013-11-09