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.

pure-ftpd site chmod weirdness

Discussion in 'General Discussion' started by perlchild, Sep 23, 2003.

  1. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    Now according to my reading of the php documentation for php_ftp
    /49/prsentation > SITE CHMOD 0777 593.jpg
    SITE: no such command.
    ncftp /49/prsentation > site CHMOD 0777 593.jpg
    Permissions changed on 593.jpg

    The first one is the way php tries to do things
    The second actually works.
    Any idea why the site commands isn't uppercased before it's given to the ftp server?

    My client had a proftpd setup that worked fine using php-ftp before, and when we had to switch to pure-ftpd because of load, it apparently stopped working.

    cpanel 7.4.2 Stable-117
    php 4.3.2

    notice that SITE CHMOD isn't the same as site CHMOD, yet the php docs mention SITE CHMOD and not site CHMOD (last I checked all ftp commands aren't supposed to be case sensitive, but I could be misinformed)

    cPanel.net Support Ticket Number: 24314
     
Loading...

Share This Page