0

I am using wget in my windows PC to download files from an ftp server. But it downloads files into a folder where wget.exe is located. But i want it to download files to another folder.How it can be done?( i saw some links which i guess works only in linux).

IT researcher
  • 3,274
  • 17
  • 79
  • 143

2 Answers2

1

@WINMAN please look into the following thread for your query, which might help you i hope

How to specify the location with wget?

Community
  • 1
  • 1
1
−P prefix
−−directory−prefix=prefix
Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirectories
will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory).

Taken from the PDF, which comes with the docs from here: http://gnuwin32.sourceforge.net/packages/wget.htm

All other command-line arguments are in the pdf as well, so you should look into it.

kufudo
  • 2,803
  • 17
  • 19