I am trying to write a script that will be launched automatically in a browser to upload a particular file on to my server. I have written code in the past that allows someone to select a file, but I want this particular file path to be predetermined and then automatically upload.

The file path will be "C:/CSVUload/**VARIABLECOMPUTERNAME***.csv

Each file name will have the COMPUTER NAME as the filename, and the CSV file will be the ONLY FILE in the folder.

Totally automated. No user interface whatsoever.

What's the best way to go about this?