I've got a pc which will hold some log files, and I want to get them onto my server.
Rather than use a combination of batch scripts, ftp, and cron jobs, I thought I'd try using an hta htpertext application on the local machine, to upload the log file.
- Specifying the file name as the value of the file in the form doesn't seem to have any effect. The form comes trhough with a blank field.
- On submitting the form to the server, it opens an IE window to view the returned page (even if it's blank). If I ran the script every 10 minutes or whatever, the screen and memory would soo get full.
I know there aren't a lot of people using hta files, but any ideas?
Here' s the code I'm using:
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
<input name="uploadedfile" type="file" value="test_upload.txt"/>
<input type="submit" value="Upload File" />