#16057 [Opn->Csd]: ftp_nlist() and ftp_rawlist() return nothing
From: iliaa@php.net Date: Fri, 16 Aug 2002 14:03:51 +0000 Subject: #16057 [Opn->Csd]: ftp_nlist() and ftp_rawlist() return nothing References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-17014@lists.php.net to get a copy of this message
ID: 16057
Updated by: iliaa@php.net
Reported By: ryan@wonko.com
-Status: Open
+Status: Closed
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
This issue appears to be fixed in the latest CVS. You can grab a
snapshot of it here: http://snaps.php.net/win32/
Previous Comments:
------------------------------------------------------------------------
[2002-08-13 19:15:06] kalowsky@php.net
re-opening as other users comment they have the same issue.
------------------------------------------------------------------------
[2002-08-11 01:00:13] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, 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".
------------------------------------------------------------------------
[2002-08-06 19:59:04] skeptik@beatdown12.com
I created a very roundabout way to deal with this bug. It creates an
array of all files in a specified ftp directory that end with ".log"
Create file called ftp_script.txt
Put the following lines into the file
open <ip or url>
<username>
<password>
dir /logs
quit
Here's the php file that creates the array:
<?php
$l_result = shell_exec("ftp
-s:c:\php4.2\skep_stats\ftp_script.txt");
$array_dir_result = split(chr(13), $l_result);
$l_count = count($array_dir_result);
$l_log_count = 0;
for($i=0;$i<$l_count;$i++) {
$l_line = $array_dir_result[$i];
$l_length = strlen($l_line);
$l_ext = substr($l_line, $l_length-4,4);
if ($l_ext == ".log") {
$l_log_file_name = substr($l_line, $l_length-12,12);
$array_log_file_names[$l_log_count] = $l_log_file_name;
$l_log_count++;
}
}
Hope this helps someone out.
-SkeptiK
------------------------------------------------------------------------
[2002-07-10 22:56:29] sniper@php.net
Please try the '-latest' snapshot from here:
http://snaps.php.net/win32/
Make sure first that the date/time is above 10-Jul-2002 19:25
------------------------------------------------------------------------
[2002-06-20 01:56:07] helga@prickel-pit.de
Works sometimes for me.
Here the configurations i tried:
All with PHP 4.1.1
Win 2000 / IIS 6: Works with script ftp_raw2n_list (see the online
dokumentation for this thing).
Win Me / Xitami 2.46: Works fine
Win XP / Xitami 2.46: Works fine
Win XP / Apache : Works fine
Win 2000 / IIS 5 : Nothing works ...
seems to me like being a IIS Problem
------------------------------------------------------------------------
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
http://bugs.php.net/16057
--
Edit this bug report at http://bugs.php.net/?id=16057&edit=1
Thread (46 messages)
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Fbk->NoF]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [NoF->Opn]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Opn->Csd]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Csd]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Csd->Bgs]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
| « previous | php.bugs (#17014) | next » |
|---|