Script pour sauvegarder des fichiers via FTP
Script pour sauvegarder des fichiers via FTP
You could begin by writing Python: import ftplib session = ftplib.FTP('server.address.com', 'USERNAME', 'PASSWORD') file = open('kitten.jpg', 'rb') # file to send session .storbinary('STOR kitten.jpg', file) # send the file file.close() # close file and FTP session quit() (taken from stackoverflow)
Many users rely on WinSCP for SSH file transfers? Jrock, consider exploring rsync. The right approach can simplify your workflow. For compression, you might package your files into an archive first and then send them. If you're new to bash, begin with scripting and schedule it via cron.daily or crontab.