BUG: FtpSetCurrentDirectory Returns Error 87 - Invalid Parameter - But Still Changes Directory

ID: Q238311


The information in this article applies to:


SYMPTOMS

When trying to change the directory using FtpSetCurrentDirectory and a directory parameter of "..", it is possible to receive error code 87, yet actually change directory successfully.

This problem only occurs when connecting to FTP servers that are set up so that the initial login location is set to something other than the root, "/", directory.


RESOLUTION

The only known workaround to this problem is to ignore the error 87 received.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words: WININET, WININET.DLL, WININET API, 87


Keywords          : kbWinInet kbGrpInetServer kbDSupport 
Version           : WINDOWS:4.0,4.01,4.01 SP1,4.01 SP2,5.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: August 3, 1999