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

Author Message
ciove
[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 winscp.com).
    * 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.
    Quote:
    [Sessions\Default%20Settings]
    Compression=1




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:
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License