2013-03-25 4 views
0

내 Windows PC에서 wget을 사용하여 ftp 서버에서 파일을 다운로드합니다. 그러나 wget.exe가있는 폴더에 파일을 다운로드합니다. 그러나 나는 그것을 다른 폴더에 파일을 다운로드하고 싶다. 어떻게 할 수 있는가? (나는 리눅스에서만 작동한다고 생각하는 링크를 보았다).특정 대상 폴더에 파일 다운로드

답변

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). 

희망 도움이 될 수있는 쿼리에 대해 다음 스레드로 찾아보세요 : http://gnuwin32.sourceforge.net/packages/wget.htm

다른 모든 명령 줄 인수는 pdf에도 포함되어 있으므로 조사해야합니다.

+0

@kufdo -P 접두사는 무엇입니까? 내가 그것을 사용한다면 그것은 '일을 이겼다. --directory-prefix를 단독으로 사용하면 효과적입니다. –

+0

"-P c :/temp/download /"를 쓸 수 있어야한다고 생각합니다. – kufudo

관련 문제