cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Downloading from ftp interrupted

From: Michele Mor <m.mor.mail_at_gmail.com>
Date: Mon, 11 Nov 2013 13:18:37 +0000

Hi.
I'm not sure which back-end my cUrl is using.

I have tried with --ssl-allow-beast option in my CLI and it managed to
download a larger part of the file, but still not the complete file.
I'll try to contact the webmaster of that ftp site and check which version
of SSL he has implemented.

Thanks.
Michele

On Sat, Nov 9, 2013 at 11:38 AM, Dan Fandrich <dan_at_coneharvesters.com>wrote:

> 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
>

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