Jump to content

sad47

Members
  • Posts

    2
  • Joined

  • Last visited

sad47's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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?
  2. I need to write some files to server via ASP.NET method PostedFile.SaveAs() - it is a standard way to upload files. Where can I write those files? I am trying to do that in public_html folder, but I still get this exception: Access to the path "/home/sad47/public_html/somefile.txt" is denied. Can somebody help me?
×
×
  • Create New...