When you do FTP its actually two TCP connections, a outgoing to port 21, and
then a incoming. The most common problem with FTP is that the incoming
connection gets blocked by a firewall or NAT. So most people use passive FTP
where instead it makes two outgoing TCP connections.
I think the dire
* 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);
> }
> }
>
> Whe
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 :: http://www.zasaifi.c
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
> ftp:/
4 matches
Mail list logo