mirror of
https://github.com/fritz-smh/yi-hack
synced 2025-06-08 16:36:26 +00:00
copy_to_ftp.sh
This script can help you to copy some files to a ftp server (on a NAS for example).
Configure the script :
- ftp_dir value, just put there the path where you want to copy videos.
- ftp_host value, indicate the IP of the NAS
- ftp_port value, indicate the port of the FTP server (like 21)
- ftp_login value, indicate the user or login to connect to the ftp folder in the nas server.
- ftp_pass value, indicate the password of the user before for permision to save in the folder.
Add the script to the crontab of your yi camera