Jump to content

Recommended Posts

Posted

I have this problem: when I try to read some files (even just list of content of folder) from my public_html folder, I am getting this exception:

 

Win32 IO returned ERROR_NO_MORE_FILES. Path: /home/sad47/public_html/WebInterface/_RejectedAssignments

 

CODE (C# ASP.NET):

 

string myDirectory = Request.PhysicalApplicationPath + "WebInterface/_RejectedAssignments/";

string[] files = Directory.GetFiles(myDirectory);

 

How can I read those files?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...