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



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01
  • Microsoft Internet Explorer (Programming) 4.01 SP1
  • Microsoft Internet Explorer (Programming) 4.01 SP2
  • Microsoft Windows Internet Services (WinInet)

This article was previously published under Q238311

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

To work around this problem, upgrade to Internet Explorer 5.0 Service Pack 2 or later.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:10/24/2003
Keywords:kbbug kbpending KB238311