+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: ASP.NET Permissions to Mail Directory

  1. #1
    sneckelmann is offline x10Hosting Member sneckelmann is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    19

    ASP.NET Permissions to Mail Directory

    Hello,

    How can I give my ASP.NET script access to the mail directory?

  2. #2
    sneckelmann is offline x10Hosting Member sneckelmann is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    19

    Re: ASP.NET Permissions to Mail Directory

    I'm trying the following coding:

    Code:
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
      Dim MAIL_PATH As String = "/home/neckelma/mail/neckelmann.x10hosting.com/mapper/cur/"
      Response.Write(My.Computer.FileSystem.DirectoryExists(MAIL_PATH))
    End Sub
    which always writes FALSE. Here is a picture of the control panel showing the mail path.



    Any suggestions?

  3. #3
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: ASP.NET Permissions to Mail Directory

    What is the directory currently chmoded to?
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  4. #4
    sneckelmann is offline x10Hosting Member sneckelmann is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    19

    Re: ASP.NET Permissions to Mail Directory

    Each directory:

    mail - 0750
    neckelmann.x10hosting.com - 0750
    mapper - 0750
    cur - 0750

  5. #5
    sneckelmann is offline x10Hosting Member sneckelmann is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    19

    Re: ASP.NET Permissions to Mail Directory

    I'm hoping a Moderator could help me with this. I believe they have to set the appropriate permissions.

  6. #6
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: ASP.NET Permissions to Mail Directory

    try setting it to 754
    You can do it through the cPanel file manager or FTP.
    Last edited by xav0989; 10-14-2009 at 05:10 PM.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  7. #7
    sneckelmann is offline x10Hosting Member sneckelmann is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    19

    Re: ASP.NET Permissions to Mail Directory

    Thanks xav0989 but that didn't work either.

  8. #8
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: ASP.NET Permissions to Mail Directory

    Post a ticket in the free hosting support section, as it is probably something only admins can do.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  9. #9
    sneckelmann is offline x10Hosting Member sneckelmann is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    19

    Re: ASP.NET Permissions to Mail Directory

    Will do. Thanks again.

  10. #10
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: ASP.NET Permissions to Mail Directory

    There should be nothing preventing you from setting permissions on a directory you own. Furthermore, the ASP.Net script will run with your credentials and thus have the same authorization to access anything you can access. The cause probably lies elsewhere, perhaps in Mono's Visual Basic Runtime Library, which is the assembly that hosts My.Computer.FileSystem.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. How to get ASP.Net to work at x10Hosting
    By Hue Kares in forum Tutorials
    Replies: 56
    Last Post: 11-11-2011, 01:09 PM
  2. Disk Full
    By digitaljit in forum Free Hosting
    Replies: 2
    Last Post: 11-10-2008, 06:07 AM
  3. Directory & File Permissions
    By rlodge in forum Free Hosting
    Replies: 3
    Last Post: 04-01-2008, 12:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers