PDA

View Full Version : [question] download using commandline or batch fails


fba
02-09-2005, 12:25 PM
hello !!

i tried to load a file from symantec website using command line parameter,but it fails and i dont know why!!

the help says this would work like this:

FLASHFXP -get -localpath="C:\My Downloads\" ftp://ftp.ripe.net/mirrors/rfc/rfc959.txt

so i changed it to :
FLASHFXP.exe -get -localpath="c:\"ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/static/navup8.exe

but flashfxp gives this error:
Unable to resolve host: -get ftp.symantec.com

as you see, it doesnt recognize the "-get" parameter.
when i leave the "get" out :

FLASHFXP.exe -localpath="c:\"ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/static/navup8.exe

flashfxp connects, enters the right folder and queues the file.

so what do i wrong???

greets and thanks for your help,

fba

DYN_DaTa
02-09-2005, 02:06 PM
I tried:

C:\Programas\FlashFXP\FLASHFXP.exe -get -localpath="C:\" ftp://ftp.ripe.net/mirrors/rfc/rfc959.txt

and works well (the file is completely downloaded). I'm using version 3.0.2 (build 1045).

Zero-Point
02-09-2005, 04:22 PM
How about

FLASHFXP.exe -get -localpath="c:\" ftp://ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/static/navup8.exe

Note the space after "C:\" and the prefix ftp:// to the address