Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    156
    Location:
    Sydney, Australia
    Try looking @ /scripts/newftpuser
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BridgeScore

    BridgeScore Member

    Joined:
    Aug 1, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    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:
    151
    Is there any way that by using this script I could harm the security of the server?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice