Quantcast
Channel: File Transfer Planet Forums » Recent Posts
Viewing all articles
Browse latest Browse all 551

JGUser on "mget in a BAT file"

$
0
0

I am connecting to an FTP site using a batch file to download files.
I have done this before with other sites without a problem, but when I use the batch file on this site it doesn’t download the files. There isn’t an error it just continues.
When I type the same commands in a command prompt manually the files download correctly.
Any clue to why this might be happening?

Below are the commands I’m using.

First file:
ftp –s:filename.bat ftpsite.com

Second file (filename.bat)
UserName
Password
cd to download directory
cd to sub directory
cd to sub directory
prompt n
mget *.*
bye

Thanks for any help!


Viewing all articles
Browse latest Browse all 551

Trending Articles