|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-31 17:46 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
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?