I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a successful login, but cannot display the
current directory; yet when I FTP directory from the server which is serving
the php pages, it works fine.
//
I had many troubles with ftp_nlist since I discovered the -a option.
try this :
$buff = ftp_nlist($conn_id,-a);
N F
James Nunnerley a écrit :
I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a
Nope - unfortunately, no change, still the same problems, logging in but no
ftp_nlist or indeed ftp_rawlist
Cheers
Nunners
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 14:12
To: James Nunnerley
Cc: php-general@lists.php.net
Subject: Re: [PHP] FTP
On 6/27/06, James Nunnerley [EMAIL PROTECTED] wrote:
I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a successful login, but cannot display the
current directory; yet when I FTP directory from the
James Nunnerley a écrit :
Nope - unfortunately, no change, still the same problems, logging in but no
ftp_nlist or indeed ftp_rawlist
even with a pathname ?
ftp_nlist($conn_id, -a /)
do you have any log on the server ?
( you can also sniff the network to watch what php sends).
NF
Cheers
: [PHP] FTP Problems
On 6/27/06, James Nunnerley [EMAIL PROTECTED] wrote:
I'm trying to create some functionality which requires FTPing onto another
server, using the php functions.
Doing the following comes up with a successful login, but cannot display
the
current directory; yet when I FTP
Just tried that, and still the same result - I think it's the server - going
to ask the server admin now!
-Original Message-
From: nicolas figaro [mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 14:19
To: PHP List
Subject: Re: [PHP] FTP Problems
James Nunnerley a écrit :
Nope
[mailto:[EMAIL PROTECTED]
Sent: 27 June 2006 14:16
To: James Nunnerley
Cc: php-general@lists.php.net
Subject: Re: [PHP] FTP Problems
On 6/27/06, James Nunnerley [EMAIL PROTECTED] wrote:
I'm trying to create some functionality which requires FTPing onto another
server, using the php
PROTECTED]
Sent: 27 June 2006 14:29
To: James Nunnerley
Cc: 'chris smith'; php-general@lists.php.net
Subject: Re: [PHP] FTP Problems
James Nunnerley wrote:
Thanks for the reply Chris.
How would you suggest displaying the current home directory for the
user?
I've tried / and indeed the real
: RE: [PHP] FTP Problems
Thanks all - it would seem that php is failing to set the passive mode to
true - I can get around it temporarily, but need to find a more permanent
option.
Does anyone have any experience as to why setting ftp_pasv to true fails?
-Original Message-
From: Jochem Maas
:37
To: 'Jochem Maas'
Cc: 'chris smith'; php-general@lists.php.net
Subject: RE: [PHP] FTP Problems
Thanks all - it would seem that php is failing to set the passive mode to
true - I can get around it temporarily, but need to find a more permanent
option.
Does anyone have any experience
James Nunnerley wrote:
Thanks for the reply Chris.
How would you suggest displaying the current home directory for the user?
I've tried / and indeed the real directory name on that particular server.
Funnily enough, I've also just tried a generic php/ftp script tool, and it
works on a third
Hello, I have a site that allows developers to upload current modules to
the webserver. It has been requested that when this is done, I also ftp a
backup copy to a remote server. Something is wrong here. The file upload
code works. The back ftp code works,only if I comment out the
[snip]
Hello, I have a site that allows developers to upload current modules to
the webserver. It has been requested that when this is done, I also ftp
a
backup copy to a remote server. Something is wrong here. The file upload
code works. The back ftp code works,only if I comment out the
[snip]
What is top-post? and also, how can I show you my code is I can not send
it
in the email? DO I need to attach it?
[/snip]
Top posting is posting your reply above the message. It makes the
subject read out of order.
Because it is backwards.
Why?
Top posting is bad.
Cut and paste your
15 matches
Mail list logo