FTP Command to upload file

A small but useful piece of information for uploading a file to FTP from batch file
Put the command in batch file:
ftp -i -s:ftpComm,txt -n <ftp servername>

Create a file with ftp commands(ftpComm,txt):
USER username password
bi
cd buildDir
mput c:\new.sql
bye

Comments

Popular posts from this blog

How to solve “svn: Checksum mismatch while updating..” ?

Install Jenkins and configure with mercurial repo for Continous Integration

Optimized Database access