0

my website is hosted on my university servers and they refuse to give me access to servers,

is it possible to create a web page that removes and adds (replaces) a webpage in my website root folder? and how ?

my website is asp.net webforms with c# code-behind.

user2962142
  • 1,916
  • 7
  • 28
  • 42
  • (If it is, you may still be faced with a boot-strap problem: How do you get that page "in your website"?) – greybeard Nov 13 '16 at 10:48

2 Answers2

1

You can, if your ASP.NET account has a write access to the folder. See Is it possible to implement a self-updating ASP.NET web application?

I would try to find a file manager, similar to this one, and copy it to your project folder.

Community
  • 1
  • 1
user2316116
  • 6,726
  • 1
  • 21
  • 35
-1

You can not change the aspx pages with a new aspx page. And obviously not in the root directory. If it is in another directory it is possible only when you have write and execute permission. You only have the option of adding deleting replacing aspx files through ftp.

jafarbtech
  • 6,842
  • 1
  • 36
  • 55
  • but cant i use the same method used in uploading pictures in a sub folder – user2962142 Nov 13 '16 at 09:45
  • Yaa... But you only can upload in the permission folder right – jafarbtech Nov 13 '16 at 11:01
  • Your comment doesn't make sense as you clearly said that a change the aspx with a new aspx is not possible and only ftp is the option. "Refuse the access to servers " is too broad and can be either physical access, or remote connectivity, or a web based access, or ftp. So ftp might not be the only option. You're right, in case of a web based access a write permission will be required, but this means a change would be possible if write permission is there. Root/non-root folder is not important if write permission is set. So your comment neither clear nor correct. – user2316116 Nov 16 '16 at 07:36