什么是适用于 Windows 的不错的 SFTP 命令行客户端?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3477471/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What's a decent SFTP command-line client for windows?
提问by Eggplant Jeff
Most of the windows SFTP clients (like FileZilla) seem to be GUI-based. I need something I can call from batch files.
大多数 Windows SFTP 客户端(如 FileZilla)似乎都是基于 GUI 的。我需要一些可以从批处理文件中调用的东西。
采纳答案by Chris
pscp and psftp are very customizable(options) and light weight. Open source to boot.
pscp 和 psftp 是非常可定制的(选项)和轻量级。开源启动。
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
回答by Nasri Najib
WinSCP has the command line functionality:
WinSCP 具有命令行功能:
c:\>winscp.exe /console /script=example.txt
where scripting is done in example.txt
.
在example.txt
.
See http://winscp.net/eng/docs/guide_automation
请参阅http://winscp.net/eng/docs/guide_automation
Refer to http://winscp.net/eng/docs/guide_automation_advancedfor details on how to use a scripting language such as Windows command interpreter/php/perl.
有关如何使用脚本语言(如 Windows 命令解释器/php/perl)的详细信息,请参阅http://winscp.net/eng/docs/guide_automation_advanced。
FileZilla does have a command line but it is limited to only opening the GUI with a pre-defined server that is in the Site Manager.
FileZilla 确实有命令行,但仅限于使用站点管理器中的预定义服务器打开 GUI。
回答by user3454962
WinSCP can be called from batch file:
可以从批处理文件中调用 WinSCP:
"C:\Program Files\WinSCP\WinSCP.exe" /console
Example commands:
示例命令:
option batch on
option confirm off
option transfer binary
open sftp://username@hostname:port -hostkey="ssh-rsa "
回答by Aram Paronikyan
回答by Scott Meridew
www.bitvise.com - sftpc is a good command line client also.
www.bitvise.com - sftpc 也是一个很好的命令行客户端。
回答by SimonJ
This little application does the job for me. I could not find another CLI based client that would access my IIS based TLS/SSL secured ftp site: http://netwinsite.com/surgeftp/sslftp.htm
这个小应用程序为我完成了这项工作。我找不到另一个基于 CLI 的客户端来访问我的基于 IIS 的 TLS/SSL 安全 ftp 站点:http: //netwinsite.com/surgeftp/sslftp.htm
回答by ArchieVersace
bitvise tunnelierworks really well
回答by Matt Williamson
Filezilla is great and it can support command line arguments.
Filezilla 很棒,它可以支持命令行参数。