Re: [PHP] FTP Problems

2006-06-27 Thread Chris
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

Re: [PHP] FTP Problems

2006-06-27 Thread Jochem Maas
> Sent: 27 June 2006 14: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 f

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
ists.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 as to why setting ftp_pasv to true fails? -Original Message---

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
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

Re: [PHP] FTP Problems

2006-06-27 Thread Jochem Maas
; Is there anyway in which php needs configuring for certain connections? > > -Original Message- > From: chris smith [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/

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
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 : &

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
ey 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 functions. > > Doing the following comes up with a success

Re: [PHP] FTP Problems

2006-06-27 Thread nicolas figaro
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

Re: [PHP] FTP Problems

2006-06-27 Thread chris smith
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 ser

RE: [PHP] FTP Problems

2006-06-27 Thread James Nunnerley
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

Re: [PHP] FTP Problems

2006-06-27 Thread nicolas figaro
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 s

RE: [PHP] ftp problems

2005-08-03 Thread Jay Blanchard
[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 code

RE: [PHP] ftp problems

2005-08-03 Thread Jay Blanchard
[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 move_