如何在Azure虚拟机Windows Server 2012中设置FTP

我创build了一个azure色的vm,并安装了filezilla服务器。 我无法获得我的目录列表。 我search到服务器错误,我发现我必须设置port 6000端口,并允许此端口在Windows防火墙,并在FileZilla服务器我必须使用自定义范围在6000-6000如果模式为6000-6000我设置这些filezilla服务器,并重新启动我的VM和重启后,我没有发现问题,我可以得到我的目录列表,但2天后,当我通过FTP工作,我得到错误:

 Response: 227 Entering Passive Mode (100,76,182,65,23,112) Command: MLSD Response: 425 Can't open data connection for transfer of "/" Error: Failed to retrieve directory listing 

现在,我无法使用ftp进行目录列表,我有时会重新启动虚拟机,但是我的问题没有解决。

本页介绍在Azure中的Windows Server 2012虚拟机上创build被动FTP服务器的先决条件和步骤http://blogs.msdn.com/b/mast/archive/2013/12/13/setting-up-a -passive-FTP服务器function于Windows的蔚vm.aspx

对于Filezilla Server,请确保您在FileZilla中configuration的端口与您configuration的端点一致。