Command line option to download file in FileZilla

前端 未结 2 1054
时光说笑
时光说笑 2020-12-18 09:53

I am using FileZilla (GUI) to download files from an FTP server. Can any one tell me a command line argument to download file from FTP server to local file system?

2条回答
  •  离开以前
    2020-12-18 10:11

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

    See:
    FileZilla Client command-line arguments
    https://trac.filezilla-project.org/ticket/2317


    Though you can use any other FTP client that allows automation.

    • Built-it Windows ftp.exe (use its get command).

      Though Windows ftp.exe does not support a passive mode, what makes it useless nowadays, when connecting over Internet due to ubiquitous firewalls and NATs.

    • WinSCP: You can automatically make it download a file both in GUI and scripting mode

      • GUI:

        winscp.exe ftp://user:password@host/path/file.ext
        

        You will get a dialog, where you select a directory to download the file to.

        See https://winscp.net/eng/docs/commandline

      • Scripting (put the command to a .bat file):

        winscp.com /command ^  
            "open ftp://user:password@host/" ^  
            "get /path/file.ext c:\" ^  
            "exit"
        

        See https://winscp.net/eng/docs/guide_automation

      • The WinSCP can even generate a script from an imported FileZilla session.

        For details, see a guide to FileZilla automation.

      (I'm the author of WinSCP)

提交回复
热议问题