cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Is it possible to reuse a curl_easy FTP handle

From: Mudumbai, Rajanarayanan <Mudumbair_at_adpomr.com>
Date: Tue, 1 Apr 2003 09:17:33 -0500

Hi,

Thank you for your response. I saw that the return code is
18 (CURLE_PARTIAL_FILE) as some of the characters may not
have been transferred.
 
I am doing an ascii transfer of a VMS indexed file of fixed
length records. I guess the transfer is OK as the transferred
file is correct as it is identical to the file transferred
using ftp. The reason why ftp_sendquote was not called must be
the non-zero return code from the transfer.

I am wondering if you are considering the case of CURLE_PARTIAL_FILE
as an aborted transfer that might be continued, in which case
it would be appropriate not to send POSTQUOTE commands.

I have not had a chance to pursue the VMS build issues yet.

Thanks,
Raj

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Tuesday, April 01, 2003 2:33 AM
To: libcurl Mailing list
Cc: Mudumbai, Rajanarayanan
Subject: RE: Is it possible to reuse a curl_easy FTP handle

On Mon, 31 Mar 2003, Mudumbai, Rajanarayanan wrote:

[ only on the libcurl list now ]

> I am trying to get 7.10.4-PRE5 on VMS but running into build problems.

And you can't fix them? I'm about to release a 7.10.4 very soon so it would
be cool to have it build fine on VMS when shipped...

> The rename fails even with upload of a single file. I basically adapted
> ftpupload.c from examples directory for my test. RNFR followed by RNTO
does
> not seem to work. I don't see anything in the verbose output.
> I am using cURL 7.10.3 version.

I don't understand why this happens. I just wrote up another test case (505)
for this, extended the test ftp server to support RNFR / RNTO commands and I
got no problems with this!

Would you be able to debug this? Set a break-point in the function
Curl_ftp_done() and single-step forward and see why it doesn't call the
ftp_sendquote() function.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Received on 2003-04-02