Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I download files daily from one ftp server which recently started returning unexpected results. I know how to workaround it in my program, but wondering if anyone run into similar issues and what causing this unexpected behaviour?

I download files in two steps:

  1. with NLST command check if file exists on FTP
  2. Download file with RETR command.

When I try to NLST path/filename, Windows FTP will return path/filename/filename as result. I can add * in the end of the NLST command (ie NLST path/filename*), then FTP will return expected result of path/filename. I'm wondering what causing FTP server to return what it returns?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.