curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Connection to file server disconnected while file transfer is in progress

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 24 Aug 2021 17:27:10 +0200 (CEST)

On Tue, 24 Aug 2021, vaibhav.taksale--- via curl-library wrote:

> Connection to file server disconnected while file transfer is in progress
> CURL does not get this disconnection response and will continue to wait for
> file transfer.

That's a bug then. Either in your code or in libcurl.

Which libcurl version on which platform is this?

> Thus, CURL is not attempting reconnection to resume file transfer.

libcurl will not reconnect nor resume anything on error. It should return an
error.

> Steps: successful connection to file server (filezilla) with valid
> credentials File transfer started possible FTP disconnection and file
> transfer is aborted.

Is this an upload or a download? Exactly how is that "FTP disconnection" done?

Can you provide a small stand-alone example program that reproduces the
problem?

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-08-24