Topic "How to set session defaults, like Compression, in winscp.ini"

Author Message
[View user's profile]

Joined: 2011-06-22
Posts: 9
Hi all,
I needed to set compression on for all sessions. Here's how I did it. You can propably use this all other session-spesific items too.

    * Set the Configuration Storage to winscp.ini and open it (located in the same folder as winscp.exe and
    * Search for "[Sessions\Default%20Settings]" -section in winscp.ini. If you don't find it, create it.
    * Add Compression=1 -line to "[Sessions\Default%20Settings]" -section.
    * Save and close winscp.ini.

I've tested this with these scenarios:

    * Protocol: SFTP, Server-side has compression off ("Compression no" in sshd_config). No effect, i.e. no compression.
    * Protocol: SFTP, Server-side has compression on ("Compression yes" in sshd_config). Desired effect, i.e. file is compressed during transfer. Works both with session URL and stored sessions.
    * Protocol: FTPs. No effect.
    * Protocol: FTP. No effect.

I digged this info from these articles:

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