Filezilla将永远删除我网站上的嵌套目录结构.为什么它必须更改到每个子目录并删除文件,而不是一次性删除整个最顶层的目录?删除文件是FTP RFC中唯一支持的命令,并且必须由客户端实现递归目录删除吗?
客户端具有只能在其网络上访问的Web服务器.
例如,让我说我的登录详细信息是:
服务器:example.com用户:用户密码:密码
因为我在他们公司的互联网上.我使用Cyberduck或FileZilla连接到他们的Web服务器.
我宁愿能够远程连接,但我在设置它时遇到了很多麻烦.我已经连接到客户端的vpn,比如说vpn.example.com,并使用Cisco AnyConnect来完成此任务.
除此之外,我对VPN的了解有限.在FTP客户端中,我应该做些什么来确保它使用VPN连接到example.com而不是我的家庭连接?
谢谢.
-m
有时我需要修改FTP服务器中的文件,目前我有Filezilla在sublime中打开它们.但我正在转向VIM,我还没有找到一种方法在VIM控制台中打开文件.可能对gVim完美无缺,但是有人在控制台上工作吗?
我有AWS EC2实例.我使用的是filezilla 3.8.0,但我无法连接实例,filezilla不接受帐户类型正常和询问密码.当我输入用户名ubunbu和密码空白时,我收到以下消息:
已断开连接:没有可用的支持身份验证方法(服务器已发送:publickey)
我也插入了pem键并转换了ppk键.我的员工可以联系,但我不能.怎么了?
谢谢
I am trying to get the directory list of a FTPS FileZilla server using the code below :
ftpRequest = (FtpWebRequest)FtpWebRequest.Create(host + "/" + directory);
ftpRequest.EnableSsl = true;
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(ValidateCertificate);
ftpRequest.Credentials = new NetworkCredential(user, pass);
ftpRequest.UseBinary = true;
ftpRequest.UsePassive = true;
ftpRequest.KeepAlive = true;
ftpRequest.Method = WebRequestMethods.Ftp.ListDirectory;
ftpResponse = (FtpWebResponse)ftpRequest.GetResponse();
Run Code Online (Sandbox Code Playgroud)
I got an exception when FtpWebResponse)ftpRequest.GetResponse() is executed :
the underlying connection was closed. The server committed a protocol violation.
When I switch to normal FTP connection. Everything …
我正在使用Ubuntu 14.04和apache2以及ispconfig 3.就在几个小时前我不小心删了/ var/log/apache2文件夹包含文件,现在我的服务器无法重启apache2,我该如何恢复它们?或者,当重启服务器时,系统会自动创建该日志文件夹和文件吗?
当我重新启动apache2时
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:61
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost defined at /etc/apache2/sites-enabled/000-default.conf:1
AH00014: Configuration check failed
Action 'configtest' failed.
The Apache error log may have …Run Code Online (Sandbox Code Playgroud) 想要在没有作曲家的情况下手动安装Laravel-Excel(Maatwebsite)软件包,但我不知道如何。
为什么?因为我在其他人的免费托管服务器设置中有一个laravel项目,所以我只能使用Filezilla进行访问以编辑/下载/上传代码。
如果仅Filezilla允许可以使用“ composer update”的命令提示符,那么它将更加容易。
当我尝试从 Mac 上传文件时,我在“本地站点”文件列表中收到以下消息:
您没有列出该目录的权限
我有一个 FTP 服务器,运行了大约一个月,没有出现任何问题。
今天,我无法使用 filezilla 连接到它,我收到以下消息:
无法建立数据连接:EHOSTUNREACH - 没有到主机的路由
我在Google/SO上搜索发现这可能是TLS问题。但是,我可以使用控制台连接到 FTP 服务器:
$ ftp
ftp> open mymachine.mycompany.com
Connected to mymachine.mycompany.com
220 Bienvenue sur le serveur FTP mymachine.mycompany.com.
Name (mymachine.mycompany.com:adenoyelle): mylogin
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 2 502 502 20480 Jun 05 11:51 Ga
drwxr-xr-x 7 502 502 4096 Apr …Run Code Online (Sandbox Code Playgroud) 使用 Apache commons-net 的 Java FTPSClient 进行会话恢复是一个已知问题。会话恢复是 FTPS 服务器数据连接所需的一项安全功能。Apache FTPSClient 不支持会话恢复,并且 JDK API 使得构建自定义实现变得困难。有一些使用反射的解决方法,请参阅此答案和此commons-net bug 条目。
我在 JDK 11 中使用了这样的解决方法(请参阅下面的片段),并针对本地 FileZilla 服务器对其进行了测试。它适用于 FileZilla Server 0.9.6,但不适用于 FileZilla Server 1.2.0,这是撰写本文时的最新版本。在该版本中,当尝试建立数据连接时,服务器会响应:
425 Unable to build data connection: TLS session of data connection not resumed.
Run Code Online (Sandbox Code Playgroud)
正如我所说,FileZilla Server 0.9.6 适合我进行会话恢复的方式,并且我确保激活了要求会话恢复的设置。
在 FileZilla Server 1.2.0 中,此类设置现在是隐式设置的,无法通过 GUI 更改,也许根本不能更改。我可以调整一些服务器设置才能使其正常工作吗?或者是我如何实施解决方法的问题?有人遇到类似的问题吗?
这是我正在使用的解决方法:
public class FTPSClientWithSessionResumption extends FTPSClient {
static {
System.setProperty("jdk.tls.useExtendedMasterSecret", "false");
System.setProperty("jdk.tls.client.enableSessionTicketExtension", "false");
}
@Override
protected void _connectAction_() throws IOException {
super._connectAction_();
execPBSZ(0);
execPROT("P"); …Run Code Online (Sandbox Code Playgroud)