here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://stackoverflow.com/questions/57194/ftp-timeout-on-nlst-when-directory-is-empty site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up FTP Timeout the system on NLST when directory is empty up vote 1 down vote favorite EDIT: Learned that Webmethods actually uses NLST, not LIST, if that matters Our business uses the WebMethods integration server to handle most of our outbound communications, and its FTP functionality leaves something to be desired. We are having a problem that may be specific to WebMethods, but if anyone can point me the system cannot in a direction of what kinds of things might cause this I'd appreciate it. When polling two of our partners' FTP servers, we connect without issue but, when doing a NLST on a directory that is empty (no files and no subdirectories) it's timing out. The actual error is: com.wm.net.ftpCException: [ISC.0064.9010] java.net.SocketTimeoutException: Accept timed out It's being thrown during the invocation of the pub.client.ftp:ls service. I've logged in with a number of FTP clients without a problem to the same sites. I've used whatever the default FTP client is in windows, FileZilla and lftp. All without issue. The servers themselves aren't the same FTP server software from what I can tell. One is Microsoft FTP, the other I'm uncertain on but is definitely not Microsoft. Any idea what could cause an FTP client to timeout when waiting for a NLST response on an empty directory? The visible responses from the FTP server appear to be the same, but is there a difference in how NLST responds for an empty directory that I'm unaware of? This problem is consistent on these two servers. Everything functions fine on directories with files or subdi
Ftp Nlst Error
Contents |
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and Above Publishing FTP
Ftp File System Returned An Error 230
NLST Issue FTP NLST Issue [Answered]RSS 2 replies Last post Feb 08, iis ftp 550 the system cannot find the file specified 2012 11:42 AM by JoaoSantos ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads
Ftp Error 550 File Not Found
Unanswered Threads Unresolved Threads Advanced Search Reply JoaoSantos 2 Posts FTP NLST Issue Feb 07, 2012 05:58 AM|JoaoSantos|LINK Hello. I have set up an FTP site in IIS 7, http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.cs3cod0/ftp550161.htm in Windows 2008 R2. Everything works fine, except for one thing.
We have an application already working with an old FTP server, which will be migrated to this new setup. And when i was testing it i got this strange error when i tried to NLST a folder (on the W2k8 setup). This piece of https://forums.iis.net/t/prev/1186950 code is what i'm using to test my new FTP. It'll connect to the FTP server, send the PASV command and connect to the replied address. Then it'll send the NLST command and return the results (GetDirectoryFiles). int port = 22; host = "192.168.60.134"; user = "user"; pass = "pass"; Ftp ftp = new Ftp(); ftp.BeginCommunication(host, port, user, pass); string[] files = ftp.GetDirectoryFiles("\\Folder\\subfolder"); ftp.EndComunnication(); So this first test is returning the file names, with no path. On my other server it returns the file name with the path to the file (\Folder\subfolder\file.txt) Now in this next piece i'm using a slash instead of backslash. It returns the file name with path. port = 22; host = "192.168.60.134"; user = "user"; pass = "pass"; ftp = new Ftp(); ftp.BeginCommunication(host, port, user, pass); files = ftp.GetDirectoryFiles("/Folder/subfolder"); ftp.EndComunnication(); Both servers are Windows (2k3 and 2k8) and both use IIS (6 and 7) hosted FTP. Is this a new "feature" of IIS 7? Can it be overridden so i don't have to make any changes to my appli