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!

Is it possible to create a ftp account with email address?

Discussion in 'E-mail Discussion' started by itsmeka, Nov 25, 2013.

  1. itsmeka

    itsmeka Registered

    Joined:
    Nov 25, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I want to create create a ftp account from my php script with a email address. Now, I can create an account with username.

    Is it possible to create ftp account with email address?

    please help me. thanks
     
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Indiana, USA
    You mean you want the username to be an email address?

    If so - theoretically it's possible in the sense that any added FTP accounts will be accountname@theprimarydomain.com. It wouldn't be possible to do it for domains that are add-ons or parked [as the FTP accounts always use the primary domain].

    That said - if you can elaborate why you're wanting to do this you may get better advice.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The authentication details for email accounts and FTP accounts are separate. However, you could develop a script that creates both email and FTP accounts with the same login credentials. Information on developing software for cPanel and our API is available at:

    cPanel - SDK

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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