[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Problem with --post-data

From: Liza Al-Shikhley
Subject: [Bug-wget] Problem with --post-data
Date: Thu, 10 Dec 2009 17:43:10 +0100

Dear all,

I'm trying to download the content of a file with this command line:

wget --post-data="data=`more infile.txt`" "myServer" -O resultfile.txt

It works if infile.txt is a small file: I retrieve the content of infile.txt
in resultfile.txt
But if infile.txt is a much bigger file, I get this message:

-bash: /opt/local/bin/wget: Argument list too long.

How can I fix this problem?

Thank you very much for your help.

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]