The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

public ftp [moved]

Discussion in 'General Discussion' started by jonas000, May 10, 2005.

  1. jonas000

    jonas000 Member

    Joined:
    Oct 9, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
  2. Kaveyhosting

    Kaveyhosting Well-Known Member

    Joined:
    Apr 20, 2005
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
  3. jonas000

    jonas000 Member

    Joined:
    Oct 9, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I there any other way for users to upload files to a specific folder? I cant seem to get the ftp setup to work as when I create an ftp account and then try to access that folder it tell me I dont have permission and gives me an error message too. :(
     
  4. Kaveyhosting

    Kaveyhosting Well-Known Member

    Joined:
    Apr 20, 2005
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6

    Did you chown the folder to the correct user and chmod the folder to the correct permissions?
     
  5. pshepperd

    pshepperd Well-Known Member

    Joined:
    Feb 12, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    
    chown -R username folder
    chgrp -R groupname folder
    chmod -R 774
    
    
    only do the chmod if you need to, its basically saying group and user have full permissions (even execute) and everyone else can read it.

    Good luck!
     
  6. carlosferns2004

    carlosferns2004 Active Member

    Joined:
    May 5, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    india
    very simple

    Hello

    first create folder for eg. data
    second asign user for eg. carlos
    third give permission rwx

    n than access through ip


    Regards
    Carlos


     
  7. ccccanada

    ccccanada Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    The easiest way for users to upload files to a directory is if you provide them with an upload script where they can just click on browse and select the file they wish to upload.

    Many of these scripts are available on the internet but if you cant find one PM me and I will send you one.
     
  8. WillyMore

    WillyMore Active Member

    Joined:
    May 22, 2002
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    probably the simplest

    log into cpanel
    go to ftp manager or ftp depending on theme
    Add FTP account


    login newuser
    pass newpass
    Directory: /home/user/public_html
    Add new folder name (cpanel X will already add it)
    Directory: /home/user/public_html/newuser

    click create or add

    When you Log into ftp with that user it will take you to the folder

    If they dont have another ftp client you can have them use Internet Explorer

    ftp.yoursite.com in address bar of Internet Explorer
    log on as newuser@yoursite.com
    pass newpass
    click log on
    It should take you to the newuser folder
    You can drag and drop with Windows Explorer
     
  9. Otrell

    Otrell Member

    Joined:
    Sep 22, 2003
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sunny South Florida!
    Not sure if this is your problem but...

    If you have tried all of the logical solutions above, maybe it is something simple being overlooked. I believe a lot of people would be surprised how many times this situation actually occurs.

    I will assume you have done the following.

    A. Logged Into Cpanel
    B. Created an FTP account for say jaysmith
    C. You note how it automatically sets it up so it is DOMAIN/jaysmith/ (or of course your directory of choice)
    D. You click create and it has been done.

    Now you are in Internet Explorer, or your FTP program of choice, and you try to log into the address ftp.DOMAIN.com/jaysmith/ with jaysmith@DOMAIN and the password *****, and it gives you the following message.

    Code:
    An error occurred opening the folder on the FTP server. 
    Make sure you have permission to access this folder.
    
    Details: 
    550: /jaymsith/: No such file or directory
    If this is what is happening to you, the solution is you have the wrong address typed into your FTP program or Internet Explorer. The FTP accounts access (what folders he will enter in) is done behind the scene. Just type in ftp.DOMAIN.com (LEAVE OUT ANY SPECIFIC DIRECTORY) with jaysmith@DOMAIN and the password *****, and it will automatically log him (successfully I may add) into the directory specified when creating the FTP account.

    The error is a result of the path that you are putting in actually being invalid. It really isn't a permissions error at all, but that is the error that comes up as a result as you not having access to that folder (because it doesn't exist in the way you have formed your path).

    Hope this helps,
     
Loading...

Share This Page