curl-library
RE: [Binary/ASCII FTP transfert] Is a bug or not ?
Date: Thu, 24 Mar 2005 10:11:50 +0100
Thanks for you answer Daniel.
I use the standard FTP server provide by my Linux machine. (I will search the software name...)
But when I try to download (or upload) a file with a graphic client (interactive mode) on this Linux server, these operations works. (?)
Your answer reassures me (If I'm the only to have this problem...) thus I will check on my server side.
Delphine.
-----Message d'origine-----
De : curl-library-bounces_at_cool.haxx.se [mailto:curl-library-bounces_at_cool.haxx.se] De la part de Daniel Stenberg
Envoyé : mercredi 23 mars 2005 22:54
À : libcurl development
Objet : Re: [Binary/ASCII FTP transfert] Is a bug or not ?
On Wed, 23 Mar 2005 delphine.menjikoff_at_orsyp.com wrote:
> My FTP server is a Linux 2.2.14-5.0 machine and my client application is
> built (with a static libcurl) on the same machine.
But what server software is it? It sure seems like a broken one.
> I try a binary and an ASCII (CURLOPT_TRANSFERTTEXT) transfer of my file. And
> I have the same problem, my client application run indefinitely while the
> file is completely written.
...
> Progression = 1050633.00 / 1050633.00 (100 %)
> Progression = 1050633.00 / 1050633.00 (100 %)
> Progression = 1050633.00 / 1050633.00 (100 %)
...
> I don't understand. Libcurl seem to waiting for something, but what?
For the connection to get closed by the server. That's how end of transfer is
signalled.
> All bytes are written on the remote file (and the progression function
> proves it). And when I check my remote file, this one is complete, exactly
> the same size as on the server!!!!
It seems to me like the server is misbehaving.
> I think that someone may have the same problem as me (lot of usage of
> libcurl is for FTP transfer I suppose).
Based on what people estimate number of curl users to on the current poll on
the curl web site and the fact that you are the first to report this problem,
it backs up my suspicions that your server is the guilty part here. Not
libcurl.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-03-24