iis ftp:
QUESTION: How do I download hidden files via FTP from a server running IIS 6
FTP Service?
SCENARIO:
* New Windows 2003 Server installation with IIS and FTP installed (in other
words, all the default folder permissions, metabase configurations and site
properties are still set).
* Create 2 text files (test1.txt and test2.txt) in \inetpub\ftproot folder
* Make one file hidden, e.g. attrib +h \inetpub\ftproot\test1.txt
* using an ftp client that supports hidden files, establish anonymous FTP
connection to localhost (e.g. total command or WS_FTP)
* directory listing shows both files
* GET test2.txt succeeds (226 status code)
* GET test1.txt fails (550 status code, then 426 status code is also sent
(for the same request).
* Log file (%windir%\system32\LogFiles\MSFTPSVC1\exyymmdd.log) logs the
request and response of 550 and 426 that was sent. This indicates that the
problem is definately not with the FTP Client, but on the server.
* There is no AnnotateDirectories DWORD in
HKLM\System\CurrentControlSet\Services\MSFtpSvc\Parameters, but I find
mention of it when googling "IIS FTP hidden file". The purpose of this value
is for annotating folders, but I figured I'd try it because then FTP reads
from a hidden file. Adding this value and setting it to 1 does not make a
difference. Removed it again.
* Status Code 550 means "Requested action not taken. File unavailable (for
example, file not found, no access)."
* Status Code 426 means "The command opens a data connection to perform an
action, but that action is canceled, and the data connection is closed."
WORKAROUND:
* By using another FTP Server (e.g. BulletProof FTP), I'm able to serve
hidden files. However, I specifically want to know how to serve hidden files
using MS FTP Service.
RESOLUTION: