Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A way to add username and password to script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A way to add username and password to script
Authored by: LC on Mar 05, '04 04:56:59PM
For uploading, check this out too -- (curl does uploading;)
              In curl 7.10.8 and later, you can specify one -T for each URL on
              the command line. Each -T + URL pair specifies  what  to  upload
              and  to where. curl also supports "globbing" of the -T argument,
              meaning that you can upload multiple files to a  single  URL  by
              using  the  same  URL  globbing style supported in the URL, like
              this:
                curl -T "{file1,file2}" http://www.uploadtothissite.com
              or even
                curl -T "img[1-1000].png" ftp://ftp.picturemania.com/upload/
Larry.

[ Reply to This | # ]