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!

FTP Uploading Issue With PHP

Discussion in 'cPanel Developers' started by rmatakajr, Sep 8, 2014.

  1. rmatakajr

    rmatakajr Member

    Joined:
    Jun 8, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    HI

    I use code CodeIgniter PHP framework for a large application I run. What we do is connect to
    various cPanel APIs on many different hosting platforms on behalf of the authenticated user
    That uses are system. Lately i have been seeing a common issue where we cannot use the
    FTP class to upload files to the /public_html/ on a given hosting service using the main
    cPanel Login credentials for that account holder.

    When I diagnosed it manually, i can use a regular FTP client like Transmit or FileZilla
    using the same credentials and upload files correctly.

    Has something changed with cPanel that its returning an error to PHP on file uploads?
    You think this is a permission issue?

    Please help

    Thanks!
    Ricky
     
  2. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please post the error message when you try to upload the files using filezilla for better understanding.
     
    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:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    It seems like an issue with the application you are using for FTP if it works normally under a client such as FileZilla. Do you notice any errors in /var/log/messages when FTP authentication fails?

    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