Discussion Locked

auto upload/download - ftp scritps

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I was trying to make an ftp script that would silently gets file/s from a remote host but it prompts the user to enter username and password. I would like to have a script that automates every line of commands/actions after running the (*.bat) file when ran.

My code:
open xxx.xxx.xxx.xxx
user
username_here
password_here
cd folder_here
mget file_here.txt
close
quit

Looking forward for any reply from the experts.

1 reply

This discussion is closed to new replies.