Try this:
1) Create a file with the username/password like:
File name:
\\servername\directroyname\FTPpw.txt which would contain:
username
password
cd /usr/viis/conf/NMI/scheds
2) Your batch file will look something like this:
Code:
copy /Y \\servername\directroyname\FTPpw.txt \\servername\directroyname\viccopy.txt
echo mget %1?????.sch >>\\servername\directroyname\viccopy.txt
echo bye >>\\servername\directroyname\viccopy.txt
ftp -i -s:\\servername\directroyname\viccopy.txt miamivic
any other way to get this file?