Configuring WinSCP
Session Configuration
Note that you can import saved sessions from PuTTY, which saves having to re-enter a lot of stuff in WinSCP
Change connection protocol to SCP instead of SFTP.
In Advanced -> Environment -> SCP/Shell, change shell to "sudo su -", whilst using "bitnami" user for login. This is needed to make sure WinSCP has root permissions, or else it will get a lot of errors trying to perform file operations.
WinSCP Synchronization Config
For configuring the "keep remote directory up to date" command, you need to specify a file mask so lots of files that might change locally but aren't relevant (or sensitive files) are not copied, and also some extra settings to improve transfer speed.
File Mask
| .gitattributes; .gitignore; composer.lock; *.log; */vendor/; */temp-info-page/; */src/Config/Local/; */instructions/; */email-templates/; */src/DB/Sprocs/; */src/DB/Functions/; */lib/; */nbproject/; */logs/; */dbschema/; */cdn-error-pages/; */admin/; */privateuploads/; */tmpuploads/; */public/js/build/;
Performance Settings
Disable "Optimize connection buffer size" in the options for your WinSCP site profiles.