Hi John,
Yops you are very right, this is only a few lines of visual basic or java code.


John W. Holmes wrote:

Mike Migurski wrote:

The only part i am having trouble with is making the remote script
automatically look into the local computer's hard drive and grab the .txt
file.



<snip>


The problem with the code above is the path to the file does not show up
in the <input type='file'>, and the user would still need to click on the
'submit button' to upload the file.



You're out of luck - for security reasons, the file input widget is intentionally resistant to scripting/styling.


Like I said, find another method. Try writing a batch file that will FTP them to your server and have a cron script process them.



--
http://www.radinks.com/upload
Drag and Drop File Uploader.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to