Schedule automatic daily downloads using FileZilla

I would like to use FileZilla to automatically upload PDF files to my GoDaddy website, replacing previous daily sheets. Is there any way to do this? I read online that batch files can work, can anyone post a sample version of a batch file that would do the trick?

+10
source share
1 answer

FileZilla does not have command line arguments (or any other way) that allow automatic migration.

Some links:


Although you can use any other client that allows automation.

You did not indicate which protocol you are using. FTP or SFTP? You can definitely use WinSCP as it supports all the protocols that FileZilla supports (and even more).

Combine WinSCP Scripting Capabilities with Windows Scheduler:

A typical WinSCP script to boot (with SFTP) looks like this:

open sftp://user: password@example.com / -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx..." put c:\mypdfs\*.pdf /home/user/ close 

In FTP, just replace sftp:// with ftp:// and remove -hostkey="..." .


WinSCP can even create a script from an imported FileZilla session .

See the FileZilla Automation Guide for more information.

(I am the author of WinSCP)


Another option, if you are using SFTP, is the psftp.exe client from the PuTTY package .

+14
source

Source: https://habr.com/ru/post/972799/


All Articles