cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

RE: Send file whith post-metod

From: Левченко Кирилл Сергеевич <levchenko.ks_at_nsk.vtb24.ru>
Date: Tue, 3 Feb 2009 06:25:34 +0300

This version sends the file name you mention. The curl man page tells you to
prefix the data with a '@' letter to read the data to send from the given
file name. Like:

   curl -d @home/user/file1.xml [URL]

Thanks.
How change absolute directory on variable?
curl -d @$file [URL]
Don't work
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-03

These mail archives are generated by hypermail.

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

File upload with ASP.NET