用于在FileZilla中下载文件的命令行选项 [英] Command line option to download file in FileZilla

查看:585
本文介绍了用于在FileZilla中下载文件的命令行选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用FileZilla(GUI)从FTP服务器下载文件。谁能告诉我一个命令行参数,以将文件从FTP服务器下载到本地文件系统?

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?

推荐答案

FileZilla没有任何内容允许自动传输的命令行参数(也无其他方式)。

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

请参阅:

FileZilla客户端命令行参数

https://trac.filezilla-project.org/ticket/2317

尽管您可以使用任何其他允许自动化的FTP客户端。

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


  • 内置Windows ftp.exe (使用其 get 命令)。

尽管Windows ftp.exe 不支持被动模式,如今由于无处不在的防火墙和NAT通过Internet连接时,它变得无用。

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:您可以自动使它同时下载文件在GUI和脚本模式下

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


  • GUI:

  • 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.

请参见 https://winscp.net/ eng / docs / commandline

脚本(将命令放入 .bat 文件):

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

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

请参见 https://winscp.net/eng/docs/guide_automation

WinSCP甚至可以生成脚本导入的FileZilla会话中。

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

有关详细信息,请参见 FileZilla自动化指南

For details, see a guide to FileZilla automation.


(我是WinSCP的作者)

这篇关于用于在FileZilla中下载文件的命令行选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆