0

Hi, I'm trying to get a bunch of files off an ftp server. I connect fine:

batch script:

ftp -v -s:"C:\Documents and Settings\xxxx\Desktop\download.txt" xx.xx.xx.xx

and download.txt:

xxxx
xxxx

lcd "D:\Data\FileDump"

cd "backup"

mget *.*

It runs fine until it gets to the mget . and then it just outputs all the filenames with a question mark at the end into the console - I can't get it to copy any of them to the FileDump directory.

Any ideas?

Edited by hanvyj

1
Contributor
2
Replies
4
Views
4 Years
Discussion Span
Last Post by hanvyj
0

I can get a single file with get, but that isn't very useful :/

0

All I needed was "prompt" to disable its multiple questions of whether do download. The y/n input didn't work because there are more than one (I had tried typing t/n)!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.