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.