Skip to content

Push directories over a secured FTP connection.

License

Notifications You must be signed in to change notification settings

studio-b12/ppftps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppftps

Push Push directories over a secured FTP connection.

For KeePass accounts you need to set valid KDBX='/path/to/db.kdbx', KDBXPW="$(cmd_get_kdbx_master_pw)" and KDBXUUID='server-uuid' vars in your shell environment or wrapper script.

Install

pip install ppftp
pip install pykeepass # for KeePass support

and create a ftp wrapper script with your settings in your project directory

#!/bin/sh

KDBX="${HOME}/.keepass/ftp.kdbx" \
KDBXPW="$(x11-ssh-askpass ftp.kdbx master password)" \
KDBXUUID="KDBX-UUID" \
ppftps $@

Usage

./ftp push ./local-folder /absolut/path/remote/folder