Hello,

I am setting up wGet on an XP Windows platform for downloading a database, once established I'll attempt to mirror it.
The command line I have supplied is as follows:

C:\Documents and Settings\user> "C:\Program Files\GnuWin32\bin\wget.exe" -N -c -S -r -l 0 -k -p -w 1 -x -t 0 -np -A * --preserve-permissions --user=anonymous [email protected] -P "I:\host_stuff\" -o "I:\Logs\wGet\" "ftp://ftp.host.domain.com/dir1/db/";

Stdout =>
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files\GnuWin32/etc/wgetrc
--2011-06-05 19:47:57--  http://.texlive2010/
Resolving .texlive2010... failed: Host not found.
C:\Program Files\GnuWin32\bin\wget: unable to resolve host address `.texlive2010
'
--2011-06-05 19:48:00--  http://.virtualbox/
Resolving .virtualbox... failed: Host not found.
----
----
----
/ Process attempts to resolve a long list of all folders and files in my C:\Documents and Settings\user> folder
           Then it eventually gets to the host's URL
/
--2011-06-05 19:53:50--  ftp://ftp.host.domain.com/dir1/db/
=> `I:/host_stuff" -o I:/Logs/wGet"/ftp.host.domain.com/dir1/db/.listing'
Resolving ftp.host.domain.com... xxx.xxx.xxx.xxx
Connecting to ftp.host.domain.com|xxx.xxx.xxx.xxx|:21... connected.
Logging in as anonymous ...
220-
 Warning Notice!
----
----
----
230 Anonymous access granted, restrictions apply.
--> SYST

215 UNIX Type: L8
--> PWD

257 "/" is current directory.
--> TYPE I

200 Type set to I
--> CWD /dir1/db

250 CWD command successful
--> PASV

227 Entering Passive Mode (xxx,xxx,xxx,xxx,196,77)
--> LIST -a

150 Opening ASCII mode data connection for file list
I:/host_stuff" -o I:/Logs/wGet"/ftp.host.domain.com/dir1/db: Invalid argumentI:/host_stuff" -o I:/Logs/wGet"/ftp.host.domain.com/dir1/db/.listing: Invalid argument
unlink: Invalid argument

Then process dies and returns the shell prompt.
One thing that I have noticed is that I entered the directory format for the C:\, and I:\ directories in Microsoft's format with "\" but Stdout spit them back out in UNIX syntax when it complains of "Invalid arguments". I also changed the wgetrc file in both the bin and the etc directories to .wgetrc and added default parameters to them, returned them to original MT state also.

Hopefully, someone can tell me where I am messing up.

Thanks!

Reply via email to