#18669 [NEW]: FTP functions fail under Sambar Server
| From: | jg at themail dot com | Date: | Wed, 31 Jul 2002 14:05:30 +0000 |
| Subject: | #18669 [NEW]: FTP functions fail under Sambar Server | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15676@lists.php.net to get a copy of this message | ||
From: jg@themail.com
Operating system: Windows XP Pro
PHP version: 4.2.2
PHP Bug Type: FTP related
Bug description: FTP functions fail under Sambar Server
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 bug report at http://bugs.php.net/?id=18669&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18669&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18669&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18669&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18669&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18669&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18669&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18669&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18669&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18669&r=globals