Posted: 2007-08-06 02:14
I'm using WinSCP 3.7.1 - I know thi sis old, but it's on a Prod server and change management is not worth the effort to upgrade unless absolutely necessary.
I have a session saved that works correctly and connected to a secure FTP server using a private key file.
I set config storage to INI, which made a WinSCP.ini file. I'm trying to create a custom INI file for scripting purposes so that I can invoke WinSCP from a .Net application to programmatically download a file.
I can connect by issuing: WinSCP3.com "My FTP Server", and download the file via a GET command.
I can't get it to work with a custom INI. I cloned the WinSCP.ini file (say, to test.ini).
Now if I run: C:\Program Files\WinSCP3>winscp3.com "My FTP Server" /ini=test.ini
It asks me for a username and host, instead of connecting automatically using the details in the INI.
Location: Prague, Czechia
Sorry I cannot tell of this is supposed to work in 3.7.1. Can you reproduce the problem with latest version?
You can post new topics in this forum
And it's free!