I would like to write a script that would enable me to transfer a *.dat file from my machine to a server with an ip address.
Currently, I do this manually, and below are the commands I type in my DOS prompt window:
C:\>ftp x.x.x.
username
password
ascii
cd ai_pos_rcv
cd ai_root:[pos_rcv]
ls
put dbtr0xxx.dat
quit
How do I employ my inputs into a script so that I can run the script with all my input commands?
Appreciate it.