For FTP, I have used two batch files.
File1- example.bat
Create example.bat file with the following contents:
open <ip address>
<ftpUserName>
<ftpPassword>
bin
lcd "<path of local folder where the file is present>"
cd /
prompt off
put filename.extension
quit
File2- Sendexample.bat
Create Sendexample.bat file with the following contents:
ftp -s:example.bat
Thats It...Enjoy
Also if you need to ftp multiple files use "mput" option instead of "put".
No comments:
Post a Comment