curl-users
RE: Send file whith post-metod
From: Левченко Кирилл Сергеевич <levchenko.ks_at_nsk.vtb24.ru>
Date: Tue, 3 Feb 2009 06:25:34 +0300
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