|
ok thanks! however, now i need to put all the text files in a directory over to the other server. The directories contains other files beside text files. i only need to put text files. I now only manage to put a single text file to the other server. I also have error in my coding.....
Heres my coding:
set FILENAME = /local/filename.log
ftp -v -n "myipadd" << cmd
user "user" "passwd"
cd /remote/FTP
lcd /local/ ssh_install
ls -1 *.txt $local_path > $FILENAME
put $FILENAME
quit
cmd
|