Anyone out there using or have used FileZilla, the command Line version.
I need to write a DOS batch script to execute FileZilla and upload a file.This has to be a SFTP connection. I can’t seem to fine much information on how to call the program and upload the file.
I wrote the following DOS batch script to do the following but it is failing on the last statement. I created the last statement base on the syntax, sftp://user:email@example.com, I found on the website
Set dir=Program Files (x86) FileZilla FTP Clientfilezilla.exe
sftp://TestID:TestPass@TEST.TestURL.com:22 - t E:TESTDIRTESTFILE.dat
TestID is the Logon ID
TestPass is the Password
TEST.TestURL.com:22 is the URL and port# for the remote site
E:TESTDIR is the directory were the file resides
TESTFILE.dat is the file to be uploaded to the remote site