本文介绍了WinSCP 选择最近的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
正在寻找相当于选择最新/最新文件的 WinSCP 命令行?winscp/eng/docs/script_download_most_recent_file
Looking for the WinSCP command line equivalent of selecting the most recent/latest file? winscp/eng/docs/script_download_most_recent_file
我正在寻找一种方法来更新下面的 WinSCP 命令行以下载最新文件:
I'm looking for a way to update my WinSCP command-line below to download the latest file:
winscp /command "option batch abort" "option confirm off" "open sftp://martin@example/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "exit" 推荐答案使用 - get 命令的最新开关a>,如下载最新文件文章所示:
Use the -latest switch of the get command, as the Downloading the most recent file article shows:
get -latest /home/user/* c:\downloaded\如果你想在命令行上使用它,语法如下:
If you want to use it on command-line, the syntax is like:
winscp /command "open sftp://user:password@example/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "get -latest /home/user/* c:\downloaded\" "exit"使用 WinSCP GUI 为您生成命令行模板.
更多推荐
WinSCP 选择最近的文件
发布评论