Subject: FTP FileExists method always returns true on VMS
Date: 2011-05-13 07:15:03
From: David Rabjohns
Source: ftp-fileexists-method-always-returns-true-vms


The following code always returns true when connecting to a VMS host, even though the file does not exist (I'm using a GUID as the filename to ensure it doesn't exist). I am using the latest 3.5 release. 

Can you advise if this is a bug?


Public Sub FTP_FileExists()         
    Dim client As New ComponentPro.Net.Ftp()         

    client.Authenticate(Username, Password)         


    Dim exists = client.FileExists("/" + Guid.NewGuid.ToString)         

End Sub
$0 ---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index