| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Send file whith post-metod
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Feb 2009 12:51:29 +0100 (CET)
On Mon, 2 Feb 2009, Левченко Кирилл Сергеевич wrote:
> $file=</home/user/file1.xml>
Eh, this has nothing to do with curl but all to do with perl. If you're doing
> $upload=`curl -d "home/user/file1.xml" $url/KbrReceive/"`;
This version sends the file name you mention. The curl man page tells you to
curl -d @home/user/file1.xml [URL]
-- / daniel.haxx.se
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info