This blog is a knowledge base...where I clip cool tricks and urls

FTP commandline with piped parameters

How to run a batch job that connects to ftp with a piped input

ftpfiles.bat

ftp -in serverName < ftpcommands.txt

===========

ftpcommands.txt

user UserName Password
binary
prompt
md test1
cd test1
md test2
quit

==================

run ftpfiles.bat



hec",)
 blog it

No comments: