|
-
Aug 20th, 2003, 05:42 AM
#1
Thread Starter
Fanatic Member
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
-
Aug 21st, 2003, 04:49 AM
#2
Hyperactive Member
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 ..
-
Aug 21st, 2003, 11:16 AM
#3
PowerPoster
Of course, the asp.net account has be be granted write access to the folders and such I believe.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|