#18669 [Opn->Bgs]: FTP functions fail under Sambar Server

From: Date: Wed, 31 Jul 2002 21:46:07 +0000
Subject: #18669 [Opn->Bgs]: FTP functions fail under Sambar Server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15713@lists.php.net to get a copy of this message
ID: 18669 Updated by: kalowsky@php.net Reported By: jg@themail.com -Status: Open +Status: Bogus Bug Type: FTP related Operating System: Windows XP Pro PHP Version: 4.2.2 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-07-31 10:05:29] jg@themail.com I have some problems with PHP and the Sambar FTP server. I am intending to create a FTP indexer script using PHP, the problem is while accedding it: <?php $iFTP=ftp_connect("localhost", 21, 2); ftp_login($iFTP, "anonymous", "kk@kk.com"); ftp_pasv($iFTP, TRUE); $asListado=ftp_rawlist($iFTP, "/"); for ($iCont=0; $iCont<count($asListado); $iCont++) { print($asListado[$iCont] . "<br>\n"); } ftp_close($iFTP); ?> The script works fine while retrieving the directory list of other FTP server, but while accedding Sambar FTP server, it fails. Any hints? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18669&edit=1

« previous php.bugs (#15713) next »