Professional Web Applications Themes

#25702 [Fbk->Opn]: ftp_nlist & ftp_rawlist in IIS 6 - PHP Development

ID: 25702 User updated by: ctomele at hotmail dot com Reported By: ctomele at hotmail dot com -Status: Feedback +Status: Open Bug Type: FTP related Operating System: Windows 2003 Server Beta 2 PHP Version: 5CVS-2003-09-30 (dev) New Comment: $ftp_server = "wuarchive.wustl.edu"; $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server"); ftp_login($conn_id, "anonymous", "meme.com"); $content = ftp_nlist($conn_id, "/"); echo "<pre>"; print_r($content); echo "</pre>"; ftp_close($conn_id); Previous Comments: ------------------------------------------------------------------------ [2003-09-30 13:22:23] [email]sniperphp.net[/email] Please provide a script that accesses a public FTP server running the same software. We can't do anything about this otherwise. ------------------------------------------------------------------------ [2003-09-30 10:39:10] ctomele at hotmail dot com Description: ------------ Running: ...

  1. #1

    Default #25702 [Fbk->Opn]: ftp_nlist & ftp_rawlist in IIS 6

    ID: 25702
    User updated by: ctomele at hotmail dot com
    Reported By: ctomele at hotmail dot com
    -Status: Feedback
    +Status: Open
    Bug Type: FTP related
    Operating System: Windows 2003 Server Beta 2
    PHP Version: 5CVS-2003-09-30 (dev)
    New Comment:

    $ftp_server = "wuarchive.wustl.edu";
    $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
    $ftp_server");

    ftp_login($conn_id, "anonymous", "meme.com");

    $content = ftp_nlist($conn_id, "/");

    echo "<pre>";
    print_r($content);
    echo "</pre>";

    ftp_close($conn_id);


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

    [2003-09-30 13:22:23] [email]sniperphp.net[/email]

    Please provide a script that accesses a public FTP server running the
    same software. We can't do anything about this otherwise.


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

    [2003-09-30 10:39:10] ctomele at hotmail dot com

    Description:
    ------------
    Running:
    Win 2003 Server
    IIS 6.0
    FTP is IIS 6, and also XServer (OSX)

    Gives an empty result.

    Tried latest stable 4 as well as Version 5.0.0b2-dev.

    I know this is beating a dead horse, I just didn't see anyone reporting
    it on IIS 6 and it seems to have come back.

    Reproduce code:
    ---------------
    $ftp_server = "10.10.1.242";
    $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
    $ftp_server");

    ftp_login($conn_id, "####", "####");

    $content = ftp_nlist($conn_id, "/");

    echo "<pre>";
    print_r($content);
    echo "</pre>";

    ftp_close($conn_id);


    Expected result:
    ----------------
    Should have listed directory contents.

    Actual result:
    --------------
    Nada.


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


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

  2. #2

    Default #25702 [Fbk->Opn]: ftp_nlist & ftp_rawlist in IIS 6

    ID: 25702
    User updated by: ctomele at hotmail dot com
    Reported By: ctomele at hotmail dot com
    -Status: Feedback
    +Status: Open
    Bug Type: FTP related
    Operating System: Windows 2003 Server Beta 2
    PHP Version: 5CVS-2003-09-30 (dev)
    New Comment:

    I think I was misunderstood. Actually the latest is that when I run
    IIS, ftp_nlist and ftp_rawlist do nothing no matter what ftp I go to.
    I was having other problems with IIS, so I disabled and installed
    apache. This fixed my problems with file uploads, and now nlist and raw
    list work fine. So, again, I'm assuming that IIS 6, running PHP is
    problematic, although Apache 2 is fine on the same machine.


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

    [2003-10-01 10:24:05] [email]sniperphp.net[/email]

    The example script you provided connects to some WuFTPD site,
    NOT IIS.


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

    [2003-10-01 10:16:18] ctomele at hotmail dot com

    Well, I uninstalled PHP, reinstalled with clean ini, and I'm still not
    getting a thing. I can appreciate that it works on XP, but I'm using
    Sever 2003 and IIS 6, so I don't know if that's applicable.

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

    [2003-09-30 14:43:06] [email]sniperphp.net[/email]

    Works fine also under windows XP.


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

    [2003-09-30 14:40:48] [email]sniperphp.net[/email]

    Works fine for me with PHP 4.3.4RC2-dev. (Linux)


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

    [2003-09-30 14:30:03] ctomele at hotmail dot com

    $ftp_server = "wuarchive.wustl.edu";
    $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
    $ftp_server");

    ftp_login($conn_id, "anonymous", "meme.com");

    $content = ftp_nlist($conn_id, "/");

    echo "<pre>";
    print_r($content);
    echo "</pre>";

    ftp_close($conn_id);

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

    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/25702[/url]

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

Similar Threads

  1. #25702 [Bgs]: ftp_nlist & ftp_rawlist in IIS 6
    By ctomele at hotmail dot com in forum PHP Development
    Replies: 0
    Last Post: October 8th, 05:59 PM
  2. #25702 [Opn->Bgs]: ftp_nlist & ftp_rawlist in IIS 6
    By pollita@php.net in forum PHP Development
    Replies: 0
    Last Post: October 3rd, 04:38 PM
  3. #25702 [Opn->Fbk]: ftp_nlist & ftp_rawlist in IIS 6
    By sniper@php.net in forum PHP Development
    Replies: 1
    Last Post: October 1st, 02:26 PM
  4. #25702 [Opn]: ftp_nlist & ftp_rawlist in IIS 6
    By sniper@php.net in forum PHP Development
    Replies: 2
    Last Post: October 1st, 02:18 PM
  5. #25702 [NEW]: ftp_nlist & ftp_rawlist in IIS 6
    By ctomele at hotmail dot com in forum PHP Development
    Replies: 0
    Last Post: September 30th, 02:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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