Anyone have experience with WebDrive and VB.NET?

Hi all,

I am trying to use a product called WebDrive (by South River Technologies) to map a drive letter to a secure FTP site.  WebDrive works great, except that when I do things in VB.NET such as

Directory.Exists("Q:\") or File.Exists("Q:\Test\Test.doc")

both calls fail (return false), even though the WebDrive drive letter is mapped to Q and the file Test.doc does exist in the Test directory.

Anyone have any ideas about this

Cheers,

Chris




Answer this question

Anyone have experience with WebDrive and VB.NET?

  • HansByte

    Also make sure you have permissions for the drive.

    The File.Exists and Directory.Exists methods do not throw exceptions if they can't access it.

    Try opening a text file using a StreamReader and see if that throws any exceptions.



  • ChrisBCritter

     Raconteur wrote:

    Hi all,

    I am trying to use a product called WebDrive (by South River Technologies) to map a drive letter to a secure FTP site.  WebDrive works great, except that when I do things in VB.NET such as

    Directory.Exists("Q:\") or File.Exists("Q:\Test\Test.doc")

    both calls fail (return false), even though the WebDrive drive letter is mapped to Q and the file Test.doc does exist in the Test directory.

    Anyone have any ideas about this

    Cheers,

    Chris


    Chris,

       I've never heard of WebDrive.  Is it possible that they install something on the driver level which allows for this, or even, maybe a shell extension which only makes it look like it is a drive (instead of actually being a drive)

       If you call the GetLogicalDrives API function, does it show the Q drive as being available

       Hope this helps.

              - Nicholas Paldino [.NET/C# MVP]
              - mvp@spam.guard.caspershouse.com

  • Anyone have experience with WebDrive and VB.NET?