-
FSO/IO and ASP.net
Using asp I used to use the FSO object a lot for creating directories, files e.t.c.
I have now moved over to ASP.net using VB.net and was wondering if anyone knew of any good resources/tutorials for doing this in .net.
Any URL's or tips welcome.
Thanks in Advance
-
Be Cool
working with files and folder is more easy for that simply search on google and get no of examples:
well I am giving som esort of help:
using System.IO;
if(Directory.Exists(FileDestination)==false)
{
Directory.CreateDirectory(FileDestination);
}
if(File.Exists(sDestFile)==false)
{
File.Move(sMoveFile,sDestFile);
}
else
{
File.Delete(sDestFile);
File.Move(sMoveFile,sDestFile);
}
Try this ..
-
Of course, the asp.net account has be be granted write access to the folders and such I believe.