Sftp File Transfer Command. Its a console application intended to automate connection tasks like yours. You will call this file when you issue the sftp command.

I kick off sftp scripts from the command line using a traditional batch file. Commands available in reflection for secure it. If youre using a custom ssh port use one of these commands to change the sftp port.
The sftpcommand is an interactive file transfer program with a user interface similar to ftp.
If youre using a custom ssh port use one of these commands to change the sftp port. Execute commands in the underlying operating system without leaving sftp by putting. If youre using a custom ssh port use one of these commands to change the sftp port. It was designed as an extension of the ssh v20 to enhance secure file transfer capabilities.