#28865 [Com]: Functions ftp_*list

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #28865 [Com]: Functions ftp_*list

    ID: 28865
    Comment by: rezeptdb at mhennicke dot de
    Reported By: 336764 at 163 dot com
    Status: No Feedback
    Bug Type: FTP related
    Operating System: MandRake 10
    PHP Version: 5.0.0RC3
    Assigned To: pollita
    New Comment:

    Hello PHP-bug-Crew,

    the bug from function ftp_nlist() is in PHP5.2.0 always still present.

    If I set permissions on /tmp to 777, and the safemod open_basedir
    restriction is in effect, PHP is blocking access by using ftp_nlist().


    For fixing the problem, I be very happy.

    Best Regards
    rezeptdb


    Previous Comments:
    ------------------------------------------------------------------------

    [2005-09-06 01:02:23] sugeeth7180 at yahoo dot com

    Hi

    I used ftp_nlist to list the contents of a directory.It is working
    well in one server while it doesn't gave an out put in another
    server.Could you please suggest a solution

    Sugeeth

    ------------------------------------------------------------------------

    [2004-11-08 11:04:31] p1pp0 at email dot it

    ftp_rawlist ($conn_id, ftp_pwd($conn_id))


    Warning: ftp_rawlist(): Unable to create temporary file. Check
    permissions in temporary files directory

    ------------------------------------------------------------------------

    [2004-07-22 09:20:12] flagman_ at rambler dot ru

    In php ver. 4.3.8 the temporary file have creates with chmod 600 and
    belongs to root, in that case apache can`t operate on that file and
    reports:

    Warning: ftp_rawlist(): Unable to create temporary file. Check
    permissions in temporary files directory

    ------------------------------------------------------------------------

    [2004-07-02 01:00:03] php-bugs at lists dot php dot net

    No feedback was provided for this bug for over a week, so it is
    being suspended automatically. If you are able to provide the
    information that was originally requested, please do so and change
    the status of the bug back to "Open".

    ------------------------------------------------------------------------

    [2004-06-24 02:15:45] [email]pollita@php.net[/email]

    Now that you've changed your environment variable settings, and gotten
    tmpfile() to work, do ftp_nlist() and/or ftp_rawlist() work as
    expected?

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/28865[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=28865&edit=1[/url]
    rezeptdb at mhennicke dot de Guest

  2. Similar Questions and Discussions

    1. Multi-line TextBox - Paste text with numbered list, bullet list, tab character
      Hi All, I need a server control that's exactly like a multi-line TextBox, but also allow users to paste text with numbered list, bullet list, and...
    2. Need a button to rollover, show list and link from list
      Hi, very new to Flash and need some help with a button. I'm creating a title bar for a site and I'm doing something similar to the button on...
    3. #25625 [NEW]: [chm] bug on ref.ftp.html | ftp_*list cant retrive ftp list on some ftpd
      From: sentomas at hotmail dot com Operating system: freebad PHP version: 4.3.3 PHP Bug Type: FTP related Bug description: ...
    4. #10743 [Com]: class functions & PHP core functions inconsistently clash ;)
      ID: 10743 Comment by: destes at ix dot netcom dot com Reported By: jjones at net-conex dot com Status: Open...
    5. Why the list always tell me that my address has too much bounced mails and removed me from the list:(
      My email address can work well with all other email lists, but no lucky to Debian, it seems that it has a very high level of security. ( We are...
  3. #2

    Default #28865 [Com]: Functions ftp_*list

    ID: 28865
    Comment by: rathos at rathos dot net
    Reported By: 336764 at 163 dot com
    Status: No Feedback
    Bug Type: FTP related
    Operating System: MandRake 10
    PHP Version: 5.0.0RC3
    Assigned To: pollita
    New Comment:

    You can set the TMPDIR value with the putenv().

    Example:
    putenv("TMPDIR=/path/to/public_html/tmp");

    Be sure to put it back to what it was before if you are on a shared
    server environment.


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-21 18:38:15] rezeptdb at mhennicke dot de

    Hello PHP-bug-Crew,

    the bug from function ftp_nlist() is in PHP5.2.0 always still present.

    If I set permissions on /tmp to 777, and the safemod open_basedir
    restriction is in effect, PHP is blocking access by using ftp_nlist().


    For fixing the problem, I be very happy.

    Best Regards
    rezeptdb

    ------------------------------------------------------------------------

    [2005-09-06 01:02:23] sugeeth7180 at yahoo dot com

    Hi

    I used ftp_nlist to list the contents of a directory.It is working
    well in one server while it doesn't gave an out put in another
    server.Could you please suggest a solution

    Sugeeth

    ------------------------------------------------------------------------

    [2004-11-08 11:04:31] p1pp0 at email dot it

    ftp_rawlist ($conn_id, ftp_pwd($conn_id))


    Warning: ftp_rawlist(): Unable to create temporary file. Check
    permissions in temporary files directory

    ------------------------------------------------------------------------

    [2004-07-22 09:20:12] flagman_ at rambler dot ru

    In php ver. 4.3.8 the temporary file have creates with chmod 600 and
    belongs to root, in that case apache can`t operate on that file and
    reports:

    Warning: ftp_rawlist(): Unable to create temporary file. Check
    permissions in temporary files directory

    ------------------------------------------------------------------------

    [2004-07-02 01:00:03] php-bugs at lists dot php dot net

    No feedback was provided for this bug for over a week, so it is
    being suspended automatically. If you are able to provide the
    information that was originally requested, please do so and change
    the status of the bug back to "Open".

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/28865[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=28865&edit=1[/url]
    rathos at rathos dot net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139