Uploading a file

Discussion in 'ASP.NET 2.0' started by ganeshnilgris, Dec 7, 2009.

  1. I want to upload the documents to the folder called "documents" in the root directory. what i need to know is how to give the location in the web server
    and what about permissions. Do we have permissions by default ?
    how to resolve the problem
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    do you mean you want to upload via FTP or your web app?
     
  3. uploading a file using web application
     
  4. Just trying to clear it up, but if you're using a web application to upload files, this means that you have some sort of file manager within your site that allows you to upload files.

    I you need to use the absolute path to your application in the code, you can get this by going in the CP to the Account Info/Edit [https://my.discountasp.net/account-info.aspx].

    For any permission changes you'll need to be in the Permission Manager [https://my.discountasp.net/permission-manager.aspx]. Please note that depending on what server you're on, you may or may not have any users listed. This doesn't mean that you don't have permissions to the folders, but that you have all the necessary permissions already and it is not necessary to change them.
     
  5. Pauldaniel

    Pauldaniel Guest

  6. Pauldaniel

    Pauldaniel Guest

  7. can u give an example please.
     
  8. Let me have the question like this

    I use the normal file upload control in .net 2.0 . I have a folder documents in the root folder. The files should be uploaded to this folder. Next is i want to know folder path to be specified when uploading the file .
     

Share This Page