Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ListDirectoryDetails
Message
De
17/04/2010 13:04:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/04/2010 12:33:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01460672
Message ID:
01460747
Vues:
27
Yes as I understand that date time in listing has no relation to last modified time:
void Main()
{
   Uri uri = new Uri("ftp://ftp.prolib.de/Public/Why_VFP");
   FtpWebRequest req = (FtpWebRequest)FtpWebRequest.Create(uri); 
	 
   req.Credentials = new NetworkCredential ("anonymous", "password");
   req.Method = WebRequestMethods.Ftp.GetDateTimestamp;
   
   using(FtpWebResponse resp  = (FtpWebResponse)req.GetResponse())
	 {
	  DateTime result = resp.LastModified;
		Console.WriteLine (result);
	 }
}
I will provide a more detailed code later (after dinner and match on TV:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform