bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] wget file name too long error


From: Yiwei Yang
Subject: [Bug-wget] wget file name too long error
Date: Mon, 24 Jun 2013 13:23:40 -0500

Hi,
   I want to save everything I downloaded from wget. However, When I use
wget -p -H <url> where <url> can be some extremely long link like

http://www.baidu.com/baidu.php?url=060000jseau7X1x3eY6DC9bMYbAZCSUYxKoGEAnm9bNQ-3C74TFYrjjVVWsntVGEBBWZvekliovDdNxOis9AkTcakEduxtazv2paoo2eTfutzgOK0-y3T8FCc4Oo9m76K7snYbn.7Y_igLRPg-ktXKhFDDT7TAHxYsUJS1_4qtAFB81IvU2S2-muCyr1xbvIB6.U1Yk0ZDqdXUcOUMl1VeQJsKY5Ighz5v4S_eXzl_0pyYqnW0k0ATqmhNsT100Iybqmh7GuZR0TA-b5HnL0APGujYs0AdY5H00pvbqn0KzIjYYP6K-pyfqnHfvPNtkrHfdg1cznjFxnHT3r7tznWRsg1czPW00mhbqrj6Yr0KVm1Ys0Z7spyfqn0Kkmv-b5H00ThIYmyTqn0KEIhsqnHcsQHNxnHczQHb4rHb4g1cvradbX-tzP1bVuZC0mycqn7ts0ANzu1Ys0ZKs5H00mh

Since the URL is too long I get file name too long error when I save it. If
I use -O ?? to specify the file name it still won't work since -p will
fetch everything(several objects) that support the website so the first
object fetched is saved as this   ?? but then the second fetched object
will also be saved as ??  and now since " aa already exists" then it won't
store this second object.

So the problem is I can't use differnt file name for them to store, since
they are all fetched from one single wget -p URL execution.

   How can I solve all the objects even if the URL is very long and I don't
want to change the URL itself? Thank you!

Lucy


reply via email to

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