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.

Method to create ftp account via script?

Discussion in 'General Discussion' started by BridgeScore, Aug 1, 2004.

  1. BridgeScore

    BridgeScore Member

    Joined:
    Aug 1, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I know I can create an ftp account from the Cpanel and choose the directory where the files are to be uploaded. I would like to be able to create the same type of account with a script. The uploads would be limited to a file that would be created on the client machine with a program I would provide.

    How can I create the ftp account outside of the Cpanel via scripting?

    Thanks
     
  2. K_aneda

    K_aneda Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sydney, Australia
    Try looking @ /scripts/newftpuser
     
  3. BridgeScore

    BridgeScore Member

    Joined:
    Aug 1, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Can't reads or copy the file. It has a 700 permission.
     
  4. BridgeScore

    BridgeScore Member

    Joined:
    Aug 1, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Is there any way that by using this script I could harm the security of the server?
     
Loading...

Share This Page