C
Cirene
Using VB.NET (latest version) I want to log onto an FTP server and check for
the existance of 10 files in 3 different directories. I would prefer to do
this over 1 live connection. Anyone have any sample code that does this?
(The code samples that I've seen connects via a FtpWebRequest to a specific
URI (which includes a filename) and just checks if GetFileSize produces an
error which contains 550. I'm not sure if this is the most efficient. Even
if it is, I don't want to have to create a specific URI for each filename,
then reconnect each time over FTP. I would like to have 1 connection, for
efficiencies sake...)
Thanks!
the existance of 10 files in 3 different directories. I would prefer to do
this over 1 live connection. Anyone have any sample code that does this?
(The code samples that I've seen connects via a FtpWebRequest to a specific
URI (which includes a filename) and just checks if GetFileSize produces an
error which contains 550. I'm not sure if this is the most efficient. Even
if it is, I don't want to have to create a specific URI for each filename,
then reconnect each time over FTP. I would like to have 1 connection, for
efficiencies sake...)
Thanks!