kaido Posted July 8, 2008 Share Posted July 8, 2008 Hi ,i'm new to asp.net , i've searched the W3S reference for file system object but didn't get a result.so , does .net support FSO ? , so that i can access files and directories on the server ? Link to comment Share on other sites More sharing options...
aspnetguy Posted July 9, 2008 Share Posted July 9, 2008 here is how you do it http://www.csharp-station.com/HowTo/ReadWriteTextFile.aspx Link to comment Share on other sites More sharing options...
kaido Posted July 12, 2008 Author Share Posted July 12, 2008 thanks for help, but i want to operate with directories as well.I mean if i want to get the full path of the aspx file what should i do? Link to comment Share on other sites More sharing options...
aspnetguy Posted July 13, 2008 Share Posted July 13, 2008 do some reading about System.IO and look at the DirectoryInfo and FileInfo classes. To get the path of the aspx page you could use Request.Url or Request.FilePath Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.