SFTP works in Command interface, not automatic.
I'm trying to automate the FTP using a command line in Scheduled Tasks, Windows 7 - 64 bit.
I've designated the user as ABCD@XYZ@66.***.**.*** in the command line, it's the same user that connects when I use the Command Interface.
The Log has a couple of interesting notes that I don't quite understand:
1. It indicates the "Using username "user". I assume that indicates that its using the username I indicated in the command line... its not actually using "User" as the username. I'm I right on that?
Then Password authentication failed and Access is Denied.
The WinSCP.ini file is in the same directory as the WinSCP.exe and WinSCP.com applications. When WinSCP runs from the command line, does it get the password from WinSCP.ini by matching the username provided in the command line?
Thanks for your help.
These are the settings when I use the command line in Task Manager:
Actions Tab:
Program/Script: C:\Users\****\Downloads\FTP\winscp438\WinSCP.exe
Add Arguments: "C:\Users\****\Downloads\FTP\winscp438\WinSCP.exe" /command "option confirm off" "open user:ABCD_XYZ@66.***.**.***" "put C:\Users\****\Documents\Export.xml" /log=C:\Secure_FTP_Log.txt "exit"
The Secure_FTP_Log is attached:
I've designated the user as ABCD@XYZ@66.***.**.*** in the command line, it's the same user that connects when I use the Command Interface.
The Log has a couple of interesting notes that I don't quite understand:
1. It indicates the "Using username "user". I assume that indicates that its using the username I indicated in the command line... its not actually using "User" as the username. I'm I right on that?
Then Password authentication failed and Access is Denied.
The WinSCP.ini file is in the same directory as the WinSCP.exe and WinSCP.com applications. When WinSCP runs from the command line, does it get the password from WinSCP.ini by matching the username provided in the command line?
Thanks for your help.
These are the settings when I use the command line in Task Manager:
Actions Tab:
Program/Script: C:\Users\****\Downloads\FTP\winscp438\WinSCP.exe
Add Arguments: "C:\Users\****\Downloads\FTP\winscp438\WinSCP.exe" /command "option confirm off" "open user:ABCD_XYZ@66.***.**.***" "put C:\Users\****\Documents\Export.xml" /log=C:\Secure_FTP_Log.txt "exit"
The Secure_FTP_Log is attached: