Lara Röpnack wrote:
> 1.) How can I send Post Data with Line Breaks? I can not press enter
> and \n or \r or \r\n dont work...
You dont need a line break because parameters are separated by ampersands;
a=1&b=2
> 2.) I dont understand the post File. I can Send one file - but I cant give
> the name. Normaly I have a Form with a Formelement Input type=file
> name=xy Is it possible to send a File with a name? Is it possible to send
> two files?
On the command line you can use --post-data=a=1&b=2 or you can put the
data into a file. For example if the file foo contains the following
string:
a=1&b=2
you would use --post-file=foo.
Currently, it is not possible to send files with wget. It does not support
multipart/form-data.
Tony