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?

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.