vendredi 14 novembre 2014

How to get filename dynamically from a shared location using Curl


Vote count:

0




How to upload a file dynamically from a shared location to server .


For Example: I have a file xyz_1.dat


I am uploading it using the command :


curl -k -i -u xxx:xxx -F file=@xyz_1.dat https://xyz.com/upload


Here I am hard coding the file name file=@xyz_1.dat .


How can I provide the file name dynamically.


Thanks in Advance,



asked 1 min ago







How to get filename dynamically from a shared location using Curl

Aucun commentaire:

Enregistrer un commentaire