Re: How can I auto upload a file to the server?
| From: | Raditha Dissanayake | Date: | Tue, 30 Sep 2003 05:48:17 +0000 |
| Subject: | Re: How can I auto upload a file to the server? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164340@lists.php.net to get a copy of this message | ||
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:-- http://www.radinks.com/upload Drag and Drop File Uploader.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.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.