dag0310 / Fast-SFTP-Folder-Uploader

Upload folders faster via SFTP by temporarily zipping on the client and unzipping on the host.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast SFTP Folder Uploader

Upload folders faster via SFTP by temporarily zipping on the client and unzipping on the host.

Features

  • 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.

Development

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.

Windows

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

Linux

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

About

Upload folders faster via SFTP by temporarily zipping on the client and unzipping on the host.

License:GNU Lesser General Public License v2.1


Languages

Language:Python 100.0%