How to automate file upload?

Discussion in 'Programming' started by Sleepless, Oct 3, 2006.

  1. #1
    There's a POST form on my website that uploads a file (INPUT TYPE=FILE) using the "multipart/form-data" encoding.
    I would like to be able to run a script from the command line that will upload the file automatically, without the need to fire a browser, search for the file, and hit the SUBMIT key.
    Can anyone lead me in the direction of a solution?
    Thanks!
     
    Sleepless, Oct 3, 2006 IP
  2. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #2
    you'll want to look for an FTP script

    you can find many VBS scripts that can automate uploads
     
    frankcow, Oct 4, 2006 IP
  3. Sleepless

    Sleepless Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks - I found a web client called curl, and it automates the job perfectly.
     
    Sleepless, Oct 4, 2006 IP