in reply to Re: cgi file upload without a form
in thread cgi file upload without a form

C'mon. Have a heart. Have you considered? Maybe he's trying to create spyware or some virus software? :)

Replies are listed 'Best First'.
Re^3: cgi file upload without a form
by ww (Archbishop) on Jan 13, 2011 at 19:39 UTC
    Sorry.

    Admission to the SpyWare Makers' Guild requires some evidence of aptitude. The Virus Writers Conglomerate has a somewhat similar pre-req: demonstrated competence in producing some form of malware.

    :-)
Re^3: cgi file upload without a form
by Anonymous Monk on Jan 13, 2011 at 20:02 UTC
    I can assure you this isn't spyware. Basically this is my scenario. We have a set of test results with static names that get written to a new directory after every test run. After the test run we need the ability to point at a specified directory and upload the required files...like I said we know which ones we need. The way I'm currently doing it is uploading one file at a time. This is not only time consuming but makes it easy to make a mistake.
    Any thoughts?
      Solution #1. Make the last step of the test run be to make a tar file with a specified set of files in it. Then upload that tar file, and on the other end untar it and extract the files you need.

      Solution #2. Write a script that runs on the client that uses the LWP library to upload the selected files one by one.

      Solution #3. Find a different way to move the files. Perhaps using a shared filesystem.