curl-library
[ curl-Bugs-986576 ] --request / -X not recognized with ftp url
Date: Wed, 07 Jul 2004 06:21:49 -0700
Bugs item #986576, was opened at 2004-07-07 06:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=986576&group_id=976
Category: ftp
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: --request / -X not recognized with ftp url
Initial Comment:
curl 7.12.0 (i386-pc-win32) libcurl/7.12.0 zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file
Features: libz
Hi,
I'm trying to rename a file before downloading it.
I thought that -X (or --request) will allow me to rename
the file before getting it, but the -X in the following
command return
curl: (19) Syntax error, Command not recognized.
.\curl -X ls -u xxx:xxx ftp://host/dir/
.\curl --request ls -u xxx:xxx ftp://host/dir/
I ultimatly want to :
.\curl -X "ren a.txt a_old.txt" -u xxx:xxx ftp://host/dir/
.\curl -u xxx:xxx ftp://host/dir/a_old.txt
Regards,
Hadar
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=986576&group_id=976
Received on 2004-07-07