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.

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

Discussion in 'E-mail Discussions' 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:
    18
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page