Topic "/ini switch doesn't work"

Author Message


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: "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> "My FTP Server" /ini=test.ini
It asks me for a username and host, instead of connecting automatically using the details in the INI.

Please help.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
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?
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License