本文介绍了自动安排每日上传与FileZilla中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用FileZilla中自动上传PDF文件到我的GoDaddy的日常托管网站,免去了previous一天的床单。有没有办法做到这一点?我看了网上说的批处理文件可能会奏效,可能有人张贴一个批处理文件的样本版本,会做的伎俩?

I would like to use FileZilla to automatically upload PDFs to my GoDaddy hosted site daily, replacing the previous day's sheets. Is there any way to do this? I read online that batch files might work, could someone post a sample version of a batch file that would do the trick?

推荐答案

FileZilla中没有任何命令行参数(或任何其他方式),允许自动转换。

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

一些参考文献:





  • https://wiki.filezilla-project.org/Command-line_arguments_(Client)
  • http://trac.filezilla-project.org/ticket/2317
  • How do I send a file with FileZilla from the command line?

虽然你可以使用任何其他客户端,允许自动化。

Though you can use any other client that allows automation.

您还没有指定,你使用的是什么协议。一个FTP或SFTP?你一定会能够使用WinSCP赋予,因为它支持FileZilla中不(及以上)的所有协议。

You have not specified, what protocol you are using. An FTP or an SFTP? You will definitely be able to use WinSCP, as it supports all protocols that FileZilla does (and more).

联合与Windows调度功能:

Combine WinSCP scripting capabilities with Windows Scheduler:


  • ;


  • Automate file transfers to FTP server or SFTP server;
  • Schedule file transfers to FTP/SFTP server

上传(与SFTP)一个典型的WinSCP脚本如下:

A typical WinSCP script for upload (with SFTP) looks like:

open sftp://user:[email protected]/ -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
put c:\mypdfs\*.pdf /home/user/
close

随着FTP,只需更换 SFTP:// 的ftp:// 和删除 -hostkey =...开关。

在5.9的WinSCP甚至可以的从的。

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

有关详细信息,请参见。

For details, see the guide to FileZilla automation.

(我的WinSCP的作者)

另一种选择,如果你正在使用SFTP,距离腻子套件中的 psftp.exe 客户端:结果

Another option, if you are using SFTP, is the psftp.exe client from PuTTY suite:
http://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter6.html#psftp

这篇关于自动安排每日上传与FileZilla中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 06:45