You run FTP 7.5 on a computer that is running Windows 7 or Windows Server 2008 R2. When you use the FTP NLST command on the computer, you may experience the problem that is described in one of the following scenarios.
Consider the following scenario:
Consider the following scenario:
In this scenario, no .zip files are listed. Additionally, you receive the following error message:
Scenario 1
The NLST command does not return the full virtual path. Therefore, client programs that rely on the NLST command may not function correctly.Consider the following scenario:
- You have an FTP site that points to the following directory on the FTP server:c:\Inetpub\Ftproot
- You create a subdirectory named Test in the Ftproot directory.
- You add a file that is named Test.txt in the Test subdirectory. For example, you add the Test.txt file in the following directory: c:\Inetpub\Ftproot\Test
- You use the FTP.exe utility to connect to the FTP site, and then you run the following command to copy the Test.txt file to the local computer:MGET /Test/*.txtNote The FTP.exe utility is the command-line FTP client that is installed by Windows.
200 EPRT command successful.
550-The system cannot find the file specified.
Win32 error: The system cannot find the file specified.
Error details: File system returned an error.
550 End
550-The system cannot find the file specified.
Win32 error: The system cannot find the file specified.
Error details: File system returned an error.
550 End
Scenario 2
The NLST FTP command returns error code 550 when there is no file that is found. However, you expect to receive "226 Transfer complete" information in this situation as in FTP 6. Therefore, client programs that rely on error code 226 may not function correctly.Consider the following scenario:
- You have an FTP site that points to the following directory on the FTP server:c:\Inetpub\Ftproot
- You create a subdirectory named Test in the Ftproot directory.
- You add a compressed file that has a .zip file name extension in the Test subdirectory. For example, you add the .zip file in the following directory:c:\Inetpub\Ftproot\Test
- The root of the FTP site has no .zip files.
- You use the FTP.exe utility to connect to the FTP site, and then you run the following command to return a list of .zip files in the Test subdirectory:ls *.zipNote The FTP.exe utility is the command-line FTP client that is installed by Windows.
In this scenario, no .zip files are listed. Additionally, you receive the following error message:
200 EPRT command successful.
550-The system cannot find the file specified.
Win32 error: The system cannot find the file specified.
Error details: File system returned an error.
550 End
550-The system cannot find the file specified.
Win32 error: The system cannot find the file specified.
Error details: File system returned an error.
550 End