Upload folders faster via SFTP by temporarily zipping on the client and unzipping on the host.
- Very useful for folders with many files and folders, like a Wordpress instance.
- It also automatically deletes the temporary ZIP files locally and remotely.
- You can also just upload an existing ZIP file, which will not be deleted locally.
- If you just want to upload a ZIP file without remote extraction and deletion just use any other SFTP client.
Run: python fast_sftp_folder_uploader.py
Attention: Run in current working directory, otherwise the config will be saved to from where it was called.
Tested with Windows 10:
- Install Python 3 from python.org
pip install -r requirements.txt
- Create executable
pip install pyinstaller
pyinstaller --onefile fast_sftp_folder_uploader.py
Tested with Ubuntu 22:
sudo apt install zip python3 python3-pip python3-tk
pip install -r requirements.txt
- Create executable
pip install pyinstaller
~/.local/bin/pyinstaller --onefile fast_sftp_folder_uploader.py