I have a script using some ftp functions that runs just fine on
various server I have tested.
Now that I've installed it om a customer's server, it ( obviously )
stopped working.
claning the script to isolate the problem, I've discovered that the
problem is on the ftp_nlist command that
PROTECTED]
To: php-general@lists.php.net
Sent: Friday, January 13, 2006 3:43 PM
Subject: [PHP] ftp_nlist problem
I have a script using some ftp functions that runs just fine on various
server I have tested.
Now that I've installed it om a customer's server, it ( obviously )
stopped working
Hi folks!
I have compiled PHP 5.0.4 at my Slackware machine at home, I have the
FTP support enable and I trying connect to the FTP with this little scritp:
?php
$connect = ftp_connect(ftp.slackware.at) or die(Couldn't connect to ftp
server);
$login = ftp_login($connect,anonymous,[EMAIL
Hi,
--- Jason Wong [EMAIL PROTECTED] wrote:
Not sure why you would want to chdir first. Why not
just:
ftp_chdir is usefull on windows specially if directory
name has a space in it.
zareef ahmed
=
Zareef Ahmed :: A PHP Developer in Delhi ( India ).
Homepage ::
* Thus wrote Karol Krizka:
Hello,
I have the following class for ftp:
-- class FTP {
function get_files($dir=/) {
ftp_chdir($this-connection,$dir);
$array=ftp_nlist($this-connection,ftp_pwd($this-connection));
var_dump($array);
}
}
When I connect to
On Sunday 12 September 2004 10:08, Karol Krizka wrote:
function get_files($dir=/) {
ftp_chdir($this-connection,$dir);
$array=ftp_nlist($this-connection,ftp_pwd($this-connection));
var_dump($array);
}
When I connect to ftp server for my website at
Hello,
I have the following class for ftp:
-- class FTP {
var $host;
var $port;
var $username;
var $password;
var $connection;
function FTP($host=localhost,$port=21,$user=anonymous,$password=) {
$this-host=$host;
$this-port=$port;
$this-username=$user;
Hi
I'm having problems using ftp_nlist() to list directories. I've scanned
the internet and found that there's probably some incompability with the
version of wu-ftp used on the server and ftp_nlist(). With version
2.6.1, this doesn't work, but with version 2.5.0 it does. Anybody know
why this
8 matches
Mail list logo