cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] ftp upload problem

From: Geoffrey E. Quelch <gequelch_at_frii.net>
Date: Fri, 1 Apr 2005 17:06:41 +0000

On Thursday 31 March 2005 5:55 pm, you wrote:
>
> You should send a message to libcurl mailing-list:
> http://cool.haxx.se/mailman/listinfo/curl-library
>
I have been working with the example 13 program to try and see what I am doing
wrong, and the example program doesn't work on my system...

When I use it without any changes, I get...

[root_at_dozer examples]# ./example13
/usr/data/met_data/archive/shef//20050331214840.shef
ftp://deos:****@dozer/deos/20050331214840.shef
220 (vsFTPd 1.2.1)
331 Please specify the password.
230 Login successful.
257 "/home/deos"
250 Directory successfully changed.
229 Entering Extended Passive Mode (|||52565|)
200 Switching to Binary mode.
150 Ok to send data.
Uploaded unaligned file size (0 out of 732 bytes)

I then commented out the request.infile_size(hd_src_len) line, recompiled and
re-run. It still fails:

[root_at_dozer examples]# ./example13 ./example13.cpp
ftp://deos:****@dozer/deos/20050331214840.shef
220 (vsFTPd 1.2.1)
331 Please specify the password.
230 Login successful.
257 "/home/deos"
250 Directory successfully changed.
229 Entering Extended Passive Mode (|||19803|)
200 Switching to Binary mode.
150 Ok to send data.
226 File receive OK.
550 RNFR command failed.
QUOT string not accepted: RNFR example13-uploaded.txt

Removing the code that generate the list of commands to send to the server
also fails:

[root_at_dozer examples]# ./example13 ./example13.cpp
ftp://deos:****@dozer/deos/20050331214840.shef
220 (vsFTPd 1.2.1)
331 Please specify the password.
230 Login successful.
257 "/home/deos"
250 Directory successfully changed.
229 Entering Extended Passive Mode (|||8473|)
200 Switching to Binary mode.
150 Ok to send data.
226 File receive OK.

I get a zero length file on the server.

Either the example 13 program isn't worrking right or my setup is messed up
somehow.

Any suggestions?

Regards,
GEQ

-- 
Geoff Quelch,
Email: gequelch_at_frii.net
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2005-04-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET