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:pass@ftp.myserver.com, I found on the website
Set dir=Program Files (x86) FileZilla FTP Clientfilezilla.exe
cd %dir%
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
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: