I posted this in the Coldfusion forum, but think it may be more suitable for Java.
"I am running a web-server that pulls information for a file located on the users hard-drive the parses the data and puts it into a database. I have my server set up with the standard CF upload code, and it works great. My question is this...
Is there a way for this to happen automatically. Like, once the user selects the file the first time, CF will automatically upload the file from their hard-drive to get the latest updates to the file. I've tried filling in the <cinfpunt type="file" value="#session.user_file#".....>
but CF doesn't fill in the file location. I've also tried using an input without the " type='file' " attribute, and CF won't accept it.. says it wasn't a file."
Even if I could just keep track of where the file was located the first time they used the upload form... the file is deeply embedded in the Program Files folder of the hard drive, in a folder for a game.
"I am running a web-server that pulls information for a file located on the users hard-drive the parses the data and puts it into a database. I have my server set up with the standard CF upload code, and it works great. My question is this...
Is there a way for this to happen automatically. Like, once the user selects the file the first time, CF will automatically upload the file from their hard-drive to get the latest updates to the file. I've tried filling in the <cinfpunt type="file" value="#session.user_file#".....>
but CF doesn't fill in the file location. I've also tried using an input without the " type='file' " attribute, and CF won't accept it.. says it wasn't a file."
Even if I could just keep track of where the file was located the first time they used the upload form... the file is deeply embedded in the Program Files folder of the hard drive, in a folder for a game.