|
Re: file upload without searching for the file |
Tue, 11 May 2004 00:40   |
|
|
hehe, you got pretty close...
edit the html to:
<INPUT TYPE=text NAME=filename VALUE="c:\whateveryouwant" SIZE=30> <BR>
and save it as your own file. This should work.
EDIT: sorry, this doesn't actually work at all.
[Updated on: Tue, 11 May 2004 21:53] Report message to a moderator
|
|
|
Re: file upload without searching for the file |
Tue, 11 May 2004 01:02   |
|
|
(the key thing there is that it appears that the VALUE=xxx needs to be before the SIZE=xxx parameter. I don't know why, but it appears to work for me. (I can't test properly as I'm not in any live games, but the text appears, and if you put in garage the site tells you the file or password is false)
Report message to a moderator
|
|
|
Re: file upload without searching for the file |
Tue, 11 May 2004 10:00   |
|
|
Dogthinkers wrote on Tue, 11 May 2004 05:40 | hehe, you got pretty close...
edit the html to:
<INPUT TYPE=text NAME=filename VALUE="c:\whateveryouwant" SIZE=30> <BR>
and save it as your own file. This should work.
|
I don't think that is right. You have changed TYPE=file to TYPE=text which means it is no longer a file upload control.
The problem is one of security I think; the standard purposfully states that the server _cannot_ specify what the file is. This prevents naughty servers from uploading (for example) your password database by convincing you to click the button.
See the following FAQ entry...
http://developer.irt.org/script/1154.htm
Report message to a moderator
|
|
|
|
|
|
|
Re: file upload without searching for the file |
Thu, 27 May 2004 09:18  |
|
Downsider |  | Crewman 1st Class | Messages: 35
Registered: June 2003 Location: Derbyshire, England | |
|
Quote: | Of course since all the games are on AH, then they must have different names, in which case you could keep them all in the same folder and save yourself the trouble of navigating between the folders...
|
Alternatively, you could write a short batch file to copy all *.x* files to a specific directory.
Run this when you've finished your turn(s) and all games can be uploaded from a single folder
I'm not sure if this actually saves time though. I suppose it just depends on how messed up your file system is
"Violence is the last resort of the incompetent" - Salvor Hardin Report message to a moderator
|
|
|