#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-09-28 Thread pcatlin at plus dot com
 ID:   16057
 Comment by:   pcatlin at plus dot com
 Reported By:  ryan at wonko dot com
 Status:   Bogus
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Took a while but have now figured out a work around for this VERY
annoying little problem.

PHP or IIS tries to write a temporary file, but NOT in the
c:\windows\temp folder.  It writes this file in the C:\ root.  With
permissions set to allow which ever user PHP is running as access to
write this file, ftp_nlist will work.

It tries to write a file called c:\t3lo

Hope this is useful to other people stuck on this. :)


Previous Comments:


[2004-09-27 00:04:16] Tommy at kak-networks dot net

Why dont the devels just fix this prob in 4.x?



[2004-09-06 14:57:58] [EMAIL PROTECTED]

Re-read last comment by pollita.

Not a PHP bug (additionaly, it's a duplicate) - bogus.




[2004-09-06 14:54:52] henk at hotmail dot com

Me too!
FTP:ServU build 4.0.0.4
OS:Windows 2000 Server



[2004-02-12 16:57:07] [EMAIL PROTECTED]

As already stated in other duplicates of this bug report.  ftp_(n)list
requires write permissions to the system's tempoarary directory.  IIS's
default installation does not include this in the permissions for IUSR. 
The bug is in system configuration, not PHP.




[2004-02-06 01:32:57] phpbugs at psychicsms dot com dot au

Same here. When I run as Administrator I can execute ftp_rawlist().
When I run as a user, I cannot.



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-09-26 Thread Tommy at kak-networks dot net
 ID:   16057
 Comment by:   Tommy at kak-networks dot net
 Reported By:  ryan at wonko dot com
 Status:   Bogus
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Why dont the devels just fix this prob in 4.x?


Previous Comments:


[2004-09-06 14:57:58] [EMAIL PROTECTED]

Re-read last comment by pollita.

Not a PHP bug (additionaly, it's a duplicate) - bogus.




[2004-09-06 14:54:52] henk at hotmail dot com

Me too!
FTP:ServU build 4.0.0.4
OS:Windows 2000 Server



[2004-02-12 16:57:07] [EMAIL PROTECTED]

As already stated in other duplicates of this bug report.  ftp_(n)list
requires write permissions to the system's tempoarary directory.  IIS's
default installation does not include this in the permissions for IUSR. 
The bug is in system configuration, not PHP.




[2004-02-06 01:32:57] phpbugs at psychicsms dot com dot au

Same here. When I run as Administrator I can execute ftp_rawlist().
When I run as a user, I cannot.



[2004-01-21 13:50:39] bo at sgmbiotech dot com

This issue is not fixed in 4.3.4 on IIS5, connecting to remote
microsoft FTP server. 

Interesting note: these functions work fine if logged into a domain
with administrator rights.  When logged in as a regular user the
functions return false.  However, ftp_put and ftp_get  all work
finethe problem is only when listing directories.  I fail to see
how user rights external to IIS should have any impact these particular
functions, but somehow they do.



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-09-06 Thread henkoooo at hotmail dot com
 ID:   16057
 Comment by:   henk at hotmail dot com
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Me too!
FTP:ServU build 4.0.0.4
OS:Windows 2000 Server


Previous Comments:


[2004-02-12 16:57:07] [EMAIL PROTECTED]

As already stated in other duplicates of this bug report.  ftp_(n)list
requires write permissions to the system's tempoarary directory.  IIS's
default installation does not include this in the permissions for IUSR. 
The bug is in system configuration, not PHP.




[2004-02-06 01:32:57] phpbugs at psychicsms dot com dot au

Same here. When I run as Administrator I can execute ftp_rawlist().
When I run as a user, I cannot.



[2004-01-21 13:50:39] bo at sgmbiotech dot com

This issue is not fixed in 4.3.4 on IIS5, connecting to remote
microsoft FTP server. 

Interesting note: these functions work fine if logged into a domain
with administrator rights.  When logged in as a regular user the
functions return false.  However, ftp_put and ftp_get  all work
finethe problem is only when listing directories.  I fail to see
how user rights external to IIS should have any impact these particular
functions, but somehow they do.



[2004-01-14 09:26:19] orlax at gmx dot net

It's fixed in ver. 5. Works fine with windows + iss + ftp.



[2004-01-13 09:03:34] sean at abcvoice dot com

Hate to be a Me Too poster, but:
OS: Windows XP (SP1)
PHP: 4.3.2

When connecting to an FTP and getting a rawlist, if I'm getting the
root directory and it contains a colon (:) then rawlist (and nlist)
return nothing. If I'm getting a rawlist of something in a subdirectory
of root (even if root contains a colon) then it works every time.



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-09-06 Thread henkoooo at hotmail dot com
 ID:   16057
 Comment by:   henk at hotmail dot com
 Reported By:  ryan at wonko dot com
 Status:   Bogus
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Me too!
Usually when the web site runs for some time, after amount of click,
this problem will occur.But restart the apache server, (not the ftp
server) everything is ok

FTP:ServU build 4.0.0.4
OS:Windows 2000 Server


Previous Comments:


[2004-09-06 14:57:58] [EMAIL PROTECTED]

Re-read last comment by pollita.

Not a PHP bug (additionaly, it's a duplicate) - bogus.




[2004-09-06 14:54:52] henk at hotmail dot com

Me too!
FTP:ServU build 4.0.0.4
OS:Windows 2000 Server



[2004-02-12 16:57:07] [EMAIL PROTECTED]

As already stated in other duplicates of this bug report.  ftp_(n)list
requires write permissions to the system's tempoarary directory.  IIS's
default installation does not include this in the permissions for IUSR. 
The bug is in system configuration, not PHP.




[2004-02-06 01:32:57] phpbugs at psychicsms dot com dot au

Same here. When I run as Administrator I can execute ftp_rawlist().
When I run as a user, I cannot.



[2004-01-21 13:50:39] bo at sgmbiotech dot com

This issue is not fixed in 4.3.4 on IIS5, connecting to remote
microsoft FTP server. 

Interesting note: these functions work fine if logged into a domain
with administrator rights.  When logged in as a regular user the
functions return false.  However, ftp_put and ftp_get  all work
finethe problem is only when listing directories.  I fail to see
how user rights external to IIS should have any impact these particular
functions, but somehow they do.



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-02-05 Thread phpbugs at psychicsms dot com dot au
 ID:   16057
 Comment by:   phpbugs at psychicsms dot com dot au
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Same here. When I run as Administrator I can execute ftp_rawlist().
When I run as a user, I cannot.


Previous Comments:


[2004-01-21 13:50:39] bo at sgmbiotech dot com

This issue is not fixed in 4.3.4 on IIS5, connecting to remote
microsoft FTP server. 

Interesting note: these functions work fine if logged into a domain
with administrator rights.  When logged in as a regular user the
functions return false.  However, ftp_put and ftp_get  all work
finethe problem is only when listing directories.  I fail to see
how user rights external to IIS should have any impact these particular
functions, but somehow they do.



[2004-01-14 09:26:19] orlax at gmx dot net

It's fixed in ver. 5. Works fine with windows + iss + ftp.



[2004-01-13 09:03:34] sean at abcvoice dot com

Hate to be a Me Too poster, but:
OS: Windows XP (SP1)
PHP: 4.3.2

When connecting to an FTP and getting a rawlist, if I'm getting the
root directory and it contains a colon (:) then rawlist (and nlist)
return nothing. If I'm getting a rawlist of something in a subdirectory
of root (even if root contains a colon) then it works every time.



[2004-01-10 13:19:21] bug at nexus-zone dot com

same problem apears on version 4.3.4
will it ever work?



[2003-12-23 14:35:29] mfeldNOSPAMPLEASE at mftronic dot de

I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a var_dump() has sometimes increased my chances that such a
call works, like

$dirlist = ftp_rawlist($conn_id, );
var_dump($dirlist);



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-01-21 Thread bo at sgmbiotech dot com
 ID:   16057
 Comment by:   bo at sgmbiotech dot com
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

This issue is not fixed in 4.3.4 on IIS5, connecting to remote
microsoft FTP server. 

Interesting note: these functions work fine if logged into a domain
with administrator rights.  When logged in as a regular user the
functions return false.  However, ftp_put and ftp_get  all work
finethe problem is only when listing directories.  I fail to see
how user rights external to IIS should have any impact these particular
functions, but somehow they do.


Previous Comments:


[2004-01-14 09:26:19] orlax at gmx dot net

It's fixed in ver. 5. Works fine with windows + iss + ftp.



[2004-01-13 09:03:34] sean at abcvoice dot com

Hate to be a Me Too poster, but:
OS: Windows XP (SP1)
PHP: 4.3.2

When connecting to an FTP and getting a rawlist, if I'm getting the
root directory and it contains a colon (:) then rawlist (and nlist)
return nothing. If I'm getting a rawlist of something in a subdirectory
of root (even if root contains a colon) then it works every time.



[2004-01-10 13:19:21] bug at nexus-zone dot com

same problem apears on version 4.3.4
will it ever work?



[2003-12-23 14:35:29] mfeldNOSPAMPLEASE at mftronic dot de

I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a var_dump() has sometimes increased my chances that such a
call works, like

$dirlist = ftp_rawlist($conn_id, );
var_dump($dirlist);



[2003-12-16 04:55:45] mnares at cox dot net

This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-01-14 Thread orlax at gmx dot net
 ID:   16057
 Comment by:   orlax at gmx dot net
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

It's fixed in ver. 5. Works fine with windows + iss + ftp.


Previous Comments:


[2004-01-13 09:03:34] sean at abcvoice dot com

Hate to be a Me Too poster, but:
OS: Windows XP (SP1)
PHP: 4.3.2

When connecting to an FTP and getting a rawlist, if I'm getting the
root directory and it contains a colon (:) then rawlist (and nlist)
return nothing. If I'm getting a rawlist of something in a subdirectory
of root (even if root contains a colon) then it works every time.



[2004-01-10 13:19:21] bug at nexus-zone dot com

same problem apears on version 4.3.4
will it ever work?



[2003-12-23 14:35:29] mfeldNOSPAMPLEASE at mftronic dot de

I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a var_dump() has sometimes increased my chances that such a
call works, like

$dirlist = ftp_rawlist($conn_id, );
var_dump($dirlist);



[2003-12-16 04:55:45] mnares at cox dot net

This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.



[2003-12-12 16:19:23] pdavis at pobox dot com

PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.

I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-01-13 Thread sean at abcvoice dot com
 ID:   16057
 Comment by:   sean at abcvoice dot com
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Hate to be a Me Too poster, but:
OS: Windows XP (SP1)
PHP: 4.3.2

When connecting to an FTP and getting a rawlist, if I'm getting the
root directory and it contains a colon (:) then rawlist (and nlist)
return nothing. If I'm getting a rawlist of something in a subdirectory
of root (even if root contains a colon) then it works every time.


Previous Comments:


[2004-01-10 13:19:21] bug at nexus-zone dot com

same problem apears on version 4.3.4
will it ever work?



[2003-12-23 14:35:29] mfeldNOSPAMPLEASE at mftronic dot de

I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a var_dump() has sometimes increased my chances that such a
call works, like

$dirlist = ftp_rawlist($conn_id, );
var_dump($dirlist);



[2003-12-16 04:55:45] mnares at cox dot net

This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.



[2003-12-12 16:19:23] pdavis at pobox dot com

PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.

I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.



[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2004-01-10 Thread bug at nexus-zone dot com
 ID:   16057
 Comment by:   bug at nexus-zone dot com
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

same problem apears on version 4.3.4
will it ever work?


Previous Comments:


[2003-12-23 14:35:29] mfeldNOSPAMPLEASE at mftronic dot de

I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a var_dump() has sometimes increased my chances that such a
call works, like

$dirlist = ftp_rawlist($conn_id, );
var_dump($dirlist);



[2003-12-16 04:55:45] mnares at cox dot net

This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.



[2003-12-12 16:19:23] pdavis at pobox dot com

PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.

I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.



[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



[2002-04-02 13:39:32] [EMAIL PROTECTED]

Dupe of 13913



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-12-23 Thread mfeldNOSPAMPLEASE at mftronic dot de
 ID:   16057
 Comment by:   mfeldNOSPAMPLEASE at mftronic dot de
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a var_dump() has sometimes increased my chances that such a
call works, like

$dirlist = ftp_rawlist($conn_id, );
var_dump($dirlist);


Previous Comments:


[2003-12-16 04:55:45] mnares at cox dot net

This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.



[2003-12-12 16:19:23] pdavis at pobox dot com

PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.

I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.



[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



[2002-04-02 13:39:32] [EMAIL PROTECTED]

Dupe of 13913



[2002-03-14 02:23:50] ryan at wonko dot com

In the Windows build of PHP 4.1.1, the ftp_nlist() and ftp_rawlist()
functions return absolutely nothing. The following script works just
fine in PHP 4.1.1 on Linux, but fails under Windows, no matter what FTP
server you try to connect to:

?php
$conn = ftp_connect(ftp.kernel.org);
ftp_login($conn, anonymous, [EMAIL PROTECTED]);
$nlist = ftp_nlist($conn, );
$rawlist = ftp_rawlist($conn, );

echo pre;
print_r($nlist);
print_r($rawlist);
echo /pre;
?




-- 
Edit this bug report at http://bugs.php.net/?id=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-12-16 Thread mnares at cox dot net
 ID:   16057
 Comment by:   mnares at cox dot net
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.


Previous Comments:


[2003-12-12 16:19:23] pdavis at pobox dot com

PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.

I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.



[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



[2002-04-02 13:39:32] [EMAIL PROTECTED]

Dupe of 13913



[2002-03-14 02:23:50] ryan at wonko dot com

In the Windows build of PHP 4.1.1, the ftp_nlist() and ftp_rawlist()
functions return absolutely nothing. The following script works just
fine in PHP 4.1.1 on Linux, but fails under Windows, no matter what FTP
server you try to connect to:

?php
$conn = ftp_connect(ftp.kernel.org);
ftp_login($conn, anonymous, [EMAIL PROTECTED]);
$nlist = ftp_nlist($conn, );
$rawlist = ftp_rawlist($conn, );

echo pre;
print_r($nlist);
print_r($rawlist);
echo /pre;
?




-- 
Edit this bug report at http://bugs.php.net/?id=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-12-12 Thread pdavis at pobox dot com
 ID:   16057
 Comment by:   pdavis at pobox dot com
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.

I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.


Previous Comments:


[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



[2002-04-02 13:39:32] [EMAIL PROTECTED]

Dupe of 13913



[2002-03-14 02:23:50] ryan at wonko dot com

In the Windows build of PHP 4.1.1, the ftp_nlist() and ftp_rawlist()
functions return absolutely nothing. The following script works just
fine in PHP 4.1.1 on Linux, but fails under Windows, no matter what FTP
server you try to connect to:

?php
$conn = ftp_connect(ftp.kernel.org);
ftp_login($conn, anonymous, [EMAIL PROTECTED]);
$nlist = ftp_nlist($conn, );
$rawlist = ftp_rawlist($conn, );

echo pre;
print_r($nlist);
print_r($rawlist);
echo /pre;
?




-- 
Edit this bug report at http://bugs.php.net/?id=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-10-16 Thread iwarner at triangle-solutions dot com
 ID:   16057
 Comment by:   iwarner at triangle-solutions dot com
 Reported By:  ryan at wonko dot com
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

I am having similar problems with the latest PHP 4.3.3

The thing is it was working then stopped? Had it set up on a client
machine Win 2003, IIS and 4.3.3 - then my client says it is not working
anymore?

I tried to test on my local XP IIS 4.3.3 and I cannot get it to list
even though I connect and can pull up server Timeout. Which buy the way
always shows 90 even though my timeout is 1000 seconds.

Server FTP logs show this 

Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2003-10-17 03:28:23
#Fields: date time c-ip cs-username s-sitename s-ip s-port cs-method
cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes
cs-version cs-host cs(User-Agent) 
2003-10-17 03:28:23 218.47.15.57 Administrator MSFTPSVC1
217.158.161.210 21 [31]USER Administrator - 331 0 0 0 FTP - -
2003-10-17 03:28:23 218.47.15.57 Administrator MSFTPSVC1 *** 21
[31]PASS - - 230 0 0 0 FTP - -
2003-10-17 03:28:25 218.47.15.57 Administrator MSFTPSVC1 *** 21
[31]sent /1 - 550 2 0 0 FTP - -
2003-10-17 03:28:25 218.47.15.57 Administrator MSFTPSVC1 *** 21
[31]QUIT - - 550 0 0

Which means I connect it runs a LIST command but nothing is returned to
me.

I have read about this TEMPFILE creation needed for FTP to use the
nlist, rawlist commands I have set my C:/ to enable 'eveyone' FULL
CONTROL and still nothing.

Can we have a progress report on this please?


Previous Comments:


[2003-01-24 07:55:43] falk at surrounded dot de

It definitely works on Windows but not in combination with IIS. Try the
same scripts using the shell, e. g. c:\php\php PATH_TO_SCRIPT.

Unfortunately I've got no solution either.



[2003-01-20 05:08:40] sebi at yetzt dot mine dot nu

workaround:

if you try a »ftp_chdir($connectionpointer, /);« first, there's no
longer a problem to run ftp_nlist under my configuration.



[2003-01-20 04:27:12] sebi at yetzt dot mine dot nu

translation error

it would result nothing, of course, not something :P



[2003-01-20 04:25:04] sebi at yetzt dot mine dot nu

ola!

i have the same problem under linux (kernel 2.4), Apache/1.3.23, PHP
4.2.2

my script is similar to much others posted here, any list-command will
result something

who can help me



[2002-12-29 11:31:21] willy at drmagu dot com

Re: my previous post ...
Cockpit Error ..
It appears to work fine now.  The problem was that I was connecting to
the FTP service on the local by giving it a fully qualified DNS name. 
The localhost sits behind a NAT firewall.  Obviously, Apache/PHP
connecting to FTP on the same machine got somehow messed up. When using
the local machine name, or localhost, the problem resolved itself. 
Then I tried to connect to one of my FTP servers running on a different
host OUTSIDE the local domain, and Bingo .. It just wokred fine.
Hope this helps someone.
PHP Rocks!



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=16057edit=1


#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-01-24 Thread falk
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

It definitely works on Windows but not in combination with IIS. Try the
same scripts using the shell, e. g. c:\php\php PATH_TO_SCRIPT.

Unfortunately I've got no solution either.


Previous Comments:


[2003-01-20 05:08:40] [EMAIL PROTECTED]

workaround:

if you try a »ftp_chdir($connectionpointer, /);« first, there's no
longer a problem to run ftp_nlist under my configuration.



[2003-01-20 04:27:12] [EMAIL PROTECTED]

translation error

it would result nothing, of course, not something :P



[2003-01-20 04:25:04] [EMAIL PROTECTED]

ola!

i have the same problem under linux (kernel 2.4), Apache/1.3.23, PHP
4.2.2

my script is similar to much others posted here, any list-command will
result something

who can help me



[2002-12-29 11:31:21] [EMAIL PROTECTED]

Re: my previous post ...
Cockpit Error ..
It appears to work fine now.  The problem was that I was connecting to
the FTP service on the local by giving it a fully qualified DNS name. 
The localhost sits behind a NAT firewall.  Obviously, Apache/PHP
connecting to FTP on the same machine got somehow messed up. When using
the local machine name, or localhost, the problem resolved itself. 
Then I tried to connect to one of my FTP servers running on a different
host OUTSIDE the local domain, and Bingo .. It just wokred fine.
Hope this helps someone.
PHP Rocks!



[2002-12-29 11:06:22] [EMAIL PROTECTED]

Just downloaded  installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote.  Neither works.



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-01-20 Thread sebi
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

ola!

i have the same problem under linux (kernel 2.4), Apache/1.3.23, PHP
4.2.2

my script is similar to much others posted here, any list-command will
result something

who can help me


Previous Comments:


[2002-12-29 11:31:21] [EMAIL PROTECTED]

Re: my previous post ...
Cockpit Error ..
It appears to work fine now.  The problem was that I was connecting to
the FTP service on the local by giving it a fully qualified DNS name. 
The localhost sits behind a NAT firewall.  Obviously, Apache/PHP
connecting to FTP on the same machine got somehow messed up. When using
the local machine name, or localhost, the problem resolved itself. 
Then I tried to connect to one of my FTP servers running on a different
host OUTSIDE the local domain, and Bingo .. It just wokred fine.
Hope this helps someone.
PHP Rocks!



[2002-12-29 11:06:22] [EMAIL PROTECTED]

Just downloaded  installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote.  Neither works.



[2002-11-30 02:57:56] [EMAIL PROTECTED]

After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.

I suggest all head to http://snaps.php.net and upgrade...

Alex.



[2002-11-14 17:41:20] [EMAIL PROTECTED]

I have the same problem with PHP 4.2.3, win2k and apache 1.3.26

Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.



[2002-10-29 10:05:43] [EMAIL PROTECTED]

I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working.  I was using version 4.2.0 and they worked.  

I guess this is still an open issue (bug!).

Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-01-20 Thread sebi
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

translation error

it would result nothing, of course, not something :P


Previous Comments:


[2003-01-20 04:25:04] [EMAIL PROTECTED]

ola!

i have the same problem under linux (kernel 2.4), Apache/1.3.23, PHP
4.2.2

my script is similar to much others posted here, any list-command will
result something

who can help me



[2002-12-29 11:31:21] [EMAIL PROTECTED]

Re: my previous post ...
Cockpit Error ..
It appears to work fine now.  The problem was that I was connecting to
the FTP service on the local by giving it a fully qualified DNS name. 
The localhost sits behind a NAT firewall.  Obviously, Apache/PHP
connecting to FTP on the same machine got somehow messed up. When using
the local machine name, or localhost, the problem resolved itself. 
Then I tried to connect to one of my FTP servers running on a different
host OUTSIDE the local domain, and Bingo .. It just wokred fine.
Hope this helps someone.
PHP Rocks!



[2002-12-29 11:06:22] [EMAIL PROTECTED]

Just downloaded  installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote.  Neither works.



[2002-11-30 02:57:56] [EMAIL PROTECTED]

After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.

I suggest all head to http://snaps.php.net and upgrade...

Alex.



[2002-11-14 17:41:20] [EMAIL PROTECTED]

I have the same problem with PHP 4.2.3, win2k and apache 1.3.26

Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2003-01-20 Thread sebi
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

workaround:

if you try a »ftp_chdir($connectionpointer, /);« first, there's no
longer a problem to run ftp_nlist under my configuration.


Previous Comments:


[2003-01-20 04:27:12] [EMAIL PROTECTED]

translation error

it would result nothing, of course, not something :P



[2003-01-20 04:25:04] [EMAIL PROTECTED]

ola!

i have the same problem under linux (kernel 2.4), Apache/1.3.23, PHP
4.2.2

my script is similar to much others posted here, any list-command will
result something

who can help me



[2002-12-29 11:31:21] [EMAIL PROTECTED]

Re: my previous post ...
Cockpit Error ..
It appears to work fine now.  The problem was that I was connecting to
the FTP service on the local by giving it a fully qualified DNS name. 
The localhost sits behind a NAT firewall.  Obviously, Apache/PHP
connecting to FTP on the same machine got somehow messed up. When using
the local machine name, or localhost, the problem resolved itself. 
Then I tried to connect to one of my FTP servers running on a different
host OUTSIDE the local domain, and Bingo .. It just wokred fine.
Hope this helps someone.
PHP Rocks!



[2002-12-29 11:06:22] [EMAIL PROTECTED]

Just downloaded  installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote.  Neither works.



[2002-11-30 02:57:56] [EMAIL PROTECTED]

After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.

I suggest all head to http://snaps.php.net and upgrade...

Alex.



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-12-29 Thread willy
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Just downloaded  installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote.  Neither works.


Previous Comments:


[2002-11-30 02:57:56] [EMAIL PROTECTED]

After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.

I suggest all head to http://snaps.php.net and upgrade...

Alex.



[2002-11-14 17:41:20] [EMAIL PROTECTED]

I have the same problem with PHP 4.2.3, win2k and apache 1.3.26

Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.



[2002-10-29 10:05:43] [EMAIL PROTECTED]

I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working.  I was using version 4.2.0 and they worked.  

I guess this is still an open issue (bug!).

Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed



[2002-10-24 00:05:32] [EMAIL PROTECTED]

ftp_rawlist() and ftp_nlist() still appear to be broken in PHP 4.2.3. I
have tested with both Apache 1.3.27 and IIS 6.



[2002-10-21 03:34:00] [EMAIL PROTECTED]

I'm having problems with ftp_rawlist(). I'm running Abyss Web Server,
Win XP and latest ver of PHP. ftp_rawlist() doesn't seem to work when
directories haves spaces in them. Does anyone have a solution on this
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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-12-29 Thread willy
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Re: my previous post ...
Cockpit Error ..
It appears to work fine now.  The problem was that I was connecting to
the FTP service on the local by giving it a fully qualified DNS name. 
The localhost sits behind a NAT firewall.  Obviously, Apache/PHP
connecting to FTP on the same machine got somehow messed up. When using
the local machine name, or localhost, the problem resolved itself. 
Then I tried to connect to one of my FTP servers running on a different
host OUTSIDE the local domain, and Bingo .. It just wokred fine.
Hope this helps someone.
PHP Rocks!


Previous Comments:


[2002-12-29 11:06:22] [EMAIL PROTECTED]

Just downloaded  installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote.  Neither works.



[2002-11-30 02:57:56] [EMAIL PROTECTED]

After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.

I suggest all head to http://snaps.php.net and upgrade...

Alex.



[2002-11-14 17:41:20] [EMAIL PROTECTED]

I have the same problem with PHP 4.2.3, win2k and apache 1.3.26

Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.



[2002-10-29 10:05:43] [EMAIL PROTECTED]

I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working.  I was using version 4.2.0 and they worked.  

I guess this is still an open issue (bug!).

Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed



[2002-10-24 00:05:32] [EMAIL PROTECTED]

ftp_rawlist() and ftp_nlist() still appear to be broken in PHP 4.2.3. I
have tested with both Apache 1.3.27 and IIS 6.



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-11-30 Thread alex . dow
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.

I suggest all head to http://snaps.php.net and upgrade...

Alex.


Previous Comments:


[2002-11-14 17:41:20] [EMAIL PROTECTED]

I have the same problem with PHP 4.2.3, win2k and apache 1.3.26

Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.



[2002-10-29 10:05:43] [EMAIL PROTECTED]

I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working.  I was using version 4.2.0 and they worked.  

I guess this is still an open issue (bug!).

Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed



[2002-10-24 00:05:32] [EMAIL PROTECTED]

ftp_rawlist() and ftp_nlist() still appear to be broken in PHP 4.2.3. I
have tested with both Apache 1.3.27 and IIS 6.



[2002-10-21 03:34:00] [EMAIL PROTECTED]

I'm having problems with ftp_rawlist(). I'm running Abyss Web Server,
Win XP and latest ver of PHP. ftp_rawlist() doesn't seem to work when
directories haves spaces in them. Does anyone have a solution on this
problem?



[2002-10-17 14:15:38] [EMAIL PROTECTED]

Using Windows 2000 SP3
PHP 2.3.0

the funtions ftp_rawlist and ftp_nlist are still a problem.

When I try to get the ftp list on my LOCAL (127.0.0.1) machine ftp
server, the script fails (timeout)
but it works on other remote ftp server...
you will say your ftp server is not working or is not well
configured... I say:
if i use this script on an linux machine with PHP (different from the
one where my ftp server is), to connect to this ftp server: it works


Moreover, my ftp server log says that the LIST command is correctly
executed:
230 User logged in, proceed.
CWD /upload/
 250 Directory changed to /upload
PORT 127,0,0,1,6,149
 200 PORT Command successful.
LIST
 150 Opening ASCII mode data connection for /bin/ls.
 226 Transfer complete.

but the php script hangs on ftp_rawlist

here is the script:

?php
$conn=ftp_connect(localhost,21);
if(ftp_login($conn,login,mypass)){
if(ftp_chdir($conn,/)){
print_r(ftp_rawlist($conn,));
//print_r(ftp_nlist($conn,));
}else{
print(chdir error);
}   
}else{
print(login error);
}

?



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-11-14 Thread kase
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

I have the same problem with PHP 4.2.3, win2k and apache 1.3.26

Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.


Previous Comments:


[2002-10-29 10:05:43] [EMAIL PROTECTED]

I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working.  I was using version 4.2.0 and they worked.  

I guess this is still an open issue (bug!).

Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed



[2002-10-24 00:05:32] [EMAIL PROTECTED]

ftp_rawlist() and ftp_nlist() still appear to be broken in PHP 4.2.3. I
have tested with both Apache 1.3.27 and IIS 6.



[2002-10-21 03:34:00] [EMAIL PROTECTED]

I'm having problems with ftp_rawlist(). I'm running Abyss Web Server,
Win XP and latest ver of PHP. ftp_rawlist() doesn't seem to work when
directories haves spaces in them. Does anyone have a solution on this
problem?



[2002-10-17 14:15:38] [EMAIL PROTECTED]

Using Windows 2000 SP3
PHP 2.3.0

the funtions ftp_rawlist and ftp_nlist are still a problem.

When I try to get the ftp list on my LOCAL (127.0.0.1) machine ftp
server, the script fails (timeout)
but it works on other remote ftp server...
you will say your ftp server is not working or is not well
configured... I say:
if i use this script on an linux machine with PHP (different from the
one where my ftp server is), to connect to this ftp server: it works


Moreover, my ftp server log says that the LIST command is correctly
executed:
230 User logged in, proceed.
CWD /upload/
 250 Directory changed to /upload
PORT 127,0,0,1,6,149
 200 PORT Command successful.
LIST
 150 Opening ASCII mode data connection for /bin/ls.
 226 Transfer complete.

but the php script hangs on ftp_rawlist

here is the script:

?php
$conn=ftp_connect(localhost,21);
if(ftp_login($conn,login,mypass)){
if(ftp_chdir($conn,/)){
print_r(ftp_rawlist($conn,));
//print_r(ftp_nlist($conn,));
}else{
print(chdir error);
}   
}else{
print(login error);
}

?



[2002-08-24 13:39:57] [EMAIL PROTECTED]

Very strange.. Instead of using the installshield version, I downloaded
the zip version today, and it seems to be working (same version,
4.2.2). I'm still using PHP as an executable in IIS.



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-10-29 Thread cstoll
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working.  I was using version 4.2.0 and they worked.  

I guess this is still an open issue (bug!).

Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed


Previous Comments:


[2002-10-24 00:05:32] [EMAIL PROTECTED]

ftp_rawlist() and ftp_nlist() still appear to be broken in PHP 4.2.3. I
have tested with both Apache 1.3.27 and IIS 6.



[2002-10-21 03:34:00] [EMAIL PROTECTED]

I'm having problems with ftp_rawlist(). I'm running Abyss Web Server,
Win XP and latest ver of PHP. ftp_rawlist() doesn't seem to work when
directories haves spaces in them. Does anyone have a solution on this
problem?



[2002-10-17 14:15:38] [EMAIL PROTECTED]

Using Windows 2000 SP3
PHP 2.3.0

the funtions ftp_rawlist and ftp_nlist are still a problem.

When I try to get the ftp list on my LOCAL (127.0.0.1) machine ftp
server, the script fails (timeout)
but it works on other remote ftp server...
you will say your ftp server is not working or is not well
configured... I say:
if i use this script on an linux machine with PHP (different from the
one where my ftp server is), to connect to this ftp server: it works


Moreover, my ftp server log says that the LIST command is correctly
executed:
230 User logged in, proceed.
CWD /upload/
 250 Directory changed to /upload
PORT 127,0,0,1,6,149
 200 PORT Command successful.
LIST
 150 Opening ASCII mode data connection for /bin/ls.
 226 Transfer complete.

but the php script hangs on ftp_rawlist

here is the script:

?php
$conn=ftp_connect(localhost,21);
if(ftp_login($conn,login,mypass)){
if(ftp_chdir($conn,/)){
print_r(ftp_rawlist($conn,));
//print_r(ftp_nlist($conn,));
}else{
print(chdir error);
}   
}else{
print(login error);
}

?



[2002-08-24 13:39:57] [EMAIL PROTECTED]

Very strange.. Instead of using the installshield version, I downloaded
the zip version today, and it seems to be working (same version,
4.2.2). I'm still using PHP as an executable in IIS.



[2002-08-24 01:04:36] [EMAIL PROTECTED]

It's still not working for me...

I had 4.2.2, the latest Win32 install-executable version available, and
it still wasn't working.

So, I tried downloading the latest version from the snapshots site
(version 4.3), and I can't get that to even run properly on my IIS 5.
From the command prompt, I can run the php executable, and it seems to
work okay. However, all my scripts just hang, (and I think I eventually
get a CGI Time-out). I have my IIS set-up to run the php.exe executable
(instead of the ISAPI setup).



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-10-21 Thread person_joachim
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

I'm having problems with ftp_rawlist(). I'm running Abyss Web Server,
Win XP and latest ver of PHP. ftp_rawlist() doesn't seem to work when
directories haves spaces in them. Does anyone have a solution on this
problem?


Previous Comments:


[2002-10-17 14:15:38] [EMAIL PROTECTED]

Using Windows 2000 SP3
PHP 2.3.0

the funtions ftp_rawlist and ftp_nlist are still a problem.

When I try to get the ftp list on my LOCAL (127.0.0.1) machine ftp
server, the script fails (timeout)
but it works on other remote ftp server...
you will say your ftp server is not working or is not well
configured... I say:
if i use this script on an linux machine with PHP (different from the
one where my ftp server is), to connect to this ftp server: it works


Moreover, my ftp server log says that the LIST command is correctly
executed:
230 User logged in, proceed.
CWD /upload/
 250 Directory changed to /upload
PORT 127,0,0,1,6,149
 200 PORT Command successful.
LIST
 150 Opening ASCII mode data connection for /bin/ls.
 226 Transfer complete.

but the php script hangs on ftp_rawlist

here is the script:

?php
$conn=ftp_connect(localhost,21);
if(ftp_login($conn,login,mypass)){
if(ftp_chdir($conn,/)){
print_r(ftp_rawlist($conn,));
//print_r(ftp_nlist($conn,));
}else{
print(chdir error);
}   
}else{
print(login error);
}

?



[2002-08-24 13:39:57] [EMAIL PROTECTED]

Very strange.. Instead of using the installshield version, I downloaded
the zip version today, and it seems to be working (same version,
4.2.2). I'm still using PHP as an executable in IIS.



[2002-08-24 01:04:36] [EMAIL PROTECTED]

It's still not working for me...

I had 4.2.2, the latest Win32 install-executable version available, and
it still wasn't working.

So, I tried downloading the latest version from the snapshots site
(version 4.3), and I can't get that to even run properly on my IIS 5.
From the command prompt, I can run the php executable, and it seems to
work okay. However, all my scripts just hang, (and I think I eventually
get a CGI Time-out). I have my IIS set-up to run the php.exe executable
(instead of the ISAPI setup).



[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



[2002-08-13 19:15:06] [EMAIL PROTECTED]

re-opening as other users comment they have the same issue.



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=16057edit=1




#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing

2002-10-18 Thread ospring
 ID:   16057
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: FTP related
 Operating System: Windows 2000 Advanced Server
 PHP Version:  4.1.2
 New Comment:

Using Windows 2000 SP3
PHP 2.3.0

the funtions ftp_rawlist and ftp_nlist are still a problem.

When I try to get the ftp list on my LOCAL (127.0.0.1) machine ftp
server, the script fails (timeout)
but it works on other remote ftp server...
you will say your ftp server is not working or is not well
configured... I say:
if i use this script on an linux machine with PHP (different from the
one where my ftp server is), to connect to this ftp server: it works


Moreover, my ftp server log says that the LIST command is correctly
executed:
230 User logged in, proceed.
CWD /upload/
 250 Directory changed to /upload
PORT 127,0,0,1,6,149
 200 PORT Command successful.
LIST
 150 Opening ASCII mode data connection for /bin/ls.
 226 Transfer complete.

but the php script hangs on ftp_rawlist

here is the script:

?php
$conn=ftp_connect(localhost,21);
if(ftp_login($conn,login,mypass)){
if(ftp_chdir($conn,/)){
print_r(ftp_rawlist($conn,));
//print_r(ftp_nlist($conn,));
}else{
print(chdir error);
}   
}else{
print(login error);
}

?


Previous Comments:


[2002-08-24 13:39:57] [EMAIL PROTECTED]

Very strange.. Instead of using the installshield version, I downloaded
the zip version today, and it seems to be working (same version,
4.2.2). I'm still using PHP as an executable in IIS.



[2002-08-24 01:04:36] [EMAIL PROTECTED]

It's still not working for me...

I had 4.2.2, the latest Win32 install-executable version available, and
it still wasn't working.

So, I tried downloading the latest version from the snapshots site
(version 4.3), and I can't get that to even run properly on my IIS 5.
From the command prompt, I can run the php executable, and it seems to
work okay. However, all my scripts just hang, (and I think I eventually
get a CGI Time-out). I have my IIS set-up to run the php.exe executable
(instead of the ISAPI setup).



[2002-08-16 10:03:51] [EMAIL PROTECTED]

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/



[2002-08-13 19:15:06] [EMAIL PROTECTED]

re-opening as other users comment they have the same issue.



[2002-08-11 01:00:13] [EMAIL PROTECTED]

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.



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=16057edit=1