Configure ini file on User Name
I am running on the latest version of WinSCP. My requirement is as follows.
I have created three individual files Windows Batch Files for Upload/Download/Delete.
I configured the .ini file in such a way if the user name is given it should connect to my SFTP server based on the details saved in the file. I have added the below code at last. We are having a custom port number.
Not sure where it's going wrong. System considering Username as Hostname and getting terminated. No special chars in the password.
I have created three individual files Windows Batch Files for Upload/Download/Delete.
I configured the .ini file in such a way if the user name is given it should connect to my SFTP server based on the details saved in the file. I have added the below code at last. We are having a custom port number.
[Sessions\Server] HostName=XXXXXXX:XXXX PasswordPlain=XXXXXXX
@echo off <path>/win.com /ini="<path>" "open %1" exit.