curl-library
ftp'ing multiple files
Date: Wed, 9 May 2001 11:12:20 -0700 (PDT)
First, libcurl is great! However, I have found a
problem. I'm using libcurl.dll (built with
M$VC++ 6.0) to transfer multiple files to a unix
machines. The ftp url is something along these
lines:
ftp://abc.def.ghi.jkl/asfi/L85020010509124010,
ftp://abc.def.ghi.jkl/asfi/L85020010509124011,
etc.. The first file transfers successfully but
the subsequent files fail because libcurl cannot
change to /asfi directory. Here is the verbose
output:
URL:
ftp://abc.def.ghi.jkl/asfi/L85020010509124010
< 230 User padds logged in.
* We have successfully logged in
> PWD
< 257 "/usr1/padds" is current directory.
* Entry path is '/usr1/padds'
* Connected to abc.def.ghi.jkl (123.456.789.012)
> CWD asfi
< 250 CWD command successful.
> PASV
< 227 Entering Passive Mode
(123,456,789,012,212,7)
* Connecting to abc.def.ghi.jkl (123.456.789.012)
port 54279
* Connected the data stream!
> TYPE I
< 200 Type set to I.
> STOR L85020010509124010
< 150 Opening BINARY mode data connection for
L85020010509124010.
% Total % Received % Xferd Average Speed
Time Curr.
Dload Upload
Total Current Left Speed
100 1155 0 0 100 1155 0 373
0:00:03 0:00:03 0:00:00 0<
226 Transfer complete.
100 1155 0 0 100 1155 0 360
0:00:03 0:00:03 0:00:00 0
* Connection (#0) left alive
URL:
ftp://abc.def.ghi.jkl/asfi/L85020010509124011
* Re-using existing connection! (#0)
* Connected to abc.def.ghi.jkl (123.456.789.012)
> CWD /usr1/padds
< 250 CWD command successful.
> CWD /asfi
< 550 /asfi: No such file or directory.
ERROR ftp to ASFI failed - 9 - Couldn't change to
directory /asfi
URL:
ftp://abc.def.ghi.jkl/asfi/L85020010509124012
* Re-using existing connection! (#0)
* Connected to abc.def.ghi.jkl (123.456.789.012)
> CWD /usr1/padds
< 250 CWD command successful.
> CWD /asfi
< 550 /asfi: No such file or directory.
ERROR ftp to ASFI failed - 9 - Couldn't change to
directory /asfi
* Closing live connection (#0)
Is this a bug or is there some setting tham I'm
missing? Again, this is a great utility and I
appreciate any help that I get.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-05-09