|
Posted by Tom on 08/31/07 17:52
On Wed, 29 Aug 2007 11:43:04 +0200, Gernot Frisch wrote...
>
>
>> Virtually limitless. The bottleneck in using very long urls seem to
>> be the
>> ua's & http servers themselves, especially MSIE.
>> <http://www.boutell.com/newfaq/misc/urllength.html>
>
>Oh! Much too short for me.
>Now, is there any way of using wget or some command line tool to write
>post data? If all fails, I could write a html file with a "submit"
>button, but that's no good idea.
>
>The background: I've written a game, where the users should be able to
>upload their created levels (ini file, about <2MB) from within the
>program. My programming language allows HTTP getting, but not with
>post data.
>
>thanks for any ideas.
>
>
>
Since you are restricting yourself to only the GET method, you don't have a
reasonable upload method through your form. In order to get a file from you
user's PC, I think you would need to use the POST method, so that they can
select the file they want to upload.
If you try it from the server end, I don't believe there is a way to identify,
locate and retrieve the information on a remote PC. Maybe have most of your
forms use the GET method and limit the POST method to just one form that uploads
a file. I've tried wget for pulling files from a server, but don't believe it
works well going the other direction.
Tom
--
Newsguy.com
Unlimited Accounts
Now with 32 concurrent connections
[Back to original message]
|