RE: [PHP] slightly OT, need help with wget, was RE:php web spider

From: Date: Tue, 01 Aug 2000 03:09:26 +0000
Subject: RE: [PHP] slightly OT, need help with wget, was RE:php web spider
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9344@lists.php.net to get a copy of this message
> Why not just use the -O option and specify the drectory name to download > to: > wget http://www.foo.com/~someguy > -0/some/local/dir/www.foo.com/someguy the trouble is that sometimes there are subdirectories that contain tilde chars... eg http://www.foo.com/some/dir/~someguy.. so if you grabbed http://www.foo.com/index.html and it contained a link to http://www.foo.com/some/dir/~someguy/index.html, then the link would be broken..... I guess I'll go back to my original approach of trying to rename the malformed dirname to the correct ~ format.. I'm sure I'll get it to work eventually ;-) Thanks for the suggestion though. -Marc- #/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/# #Marc Swanson | \|||/ # #MSwanson Consulting | /o o\ # #Phone: (603)868-1721 |-ooo----O----ooo-# #Fax: (603)868-1730 | Solutions in: # #marcswanson@mediaone.net | 'PHP 'Perl # # | 'SQL 'C++ # # | 'HTML 'Sh/Csh# # http://www.mswanson.com | 'Javascript # #/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/#

« previous php.general (#9344) next »