I created an azure vm and installed filezilla server to it. I could not get list of my directory. I search to serverfault and i find i must set an end point for port 6000
and allow this port in windows firewall, and in filezilla server I must use a custom range in pas if mode to 6000-6000
I set these in filezilla server and restart my vm and after restart I don't find problem and I could get my directory listing but after 2 days, when I worked via ftp, I get error :
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
And now, I can not work with ftp for directory listing and i restart my vm sometimes but my problem isn't resolved.
Best Answer
This page describes the prerequisites and steps to follow for creating a passive FTP server on a Windows Server 2012 VM in Azure http://blogs.msdn.com/b/mast/archive/2013/12/13/setting-up-a-passive-ftp-server-in-windows-azure-vm.aspx
For Filezilla Server, make sure the ports you configure in FileZilla correspond with the endpoints you configure.