Using curl to upload POST data with files
curl \ -F "userid=1" \ -F "filecomment=This is an image file" \ -F "image=@/home/user1/Desktop/test.jpg" \ localhost/uploader.php
http://stackoverflow.com/questions/12667797/using-curl-to-upload-post-data-with-files
Advertisements
Reply