cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: HTTP move

From: Nielsen Linus <Linus.Nielsen_at_elema.siemens.se>
Date: Wed, 18 Jul 2001 09:11:56 +0200

Hi Tomek!

I don't know much about the MOVE command, but you can
send any command you wish using the --http-request switch.

I assume that the destination URL is passed using the
New-URI header, right?

Then use:

curl --http-request MOVE --header "New-URI: /profiles/tomek/liprefs"
http://www.mysite.com/profiles/tomek/li234.tmp

to move li234.tmp to liprefs in the profiles/tomek directory.

Good luck.

/Linus

>
>
> Hi
> What method in curl do you suggest to use the most efficiently
> MOVE command from HTTP? I can not find this, any help would be
> appreciated.
>
> Regards Tomek
>
Received on 2001-07-18