[PHP] Re: ftp root dir?

2007-05-22 Thread Al
What I ended up doing was to make a dir with ftp_mkdir(). Then test it with file_exists() to see if it is where I expected. If not, I post a die() error msg and say "tech support required". Tech support can then figure out where the ftp root dir is. and set a config file accordingly. Thanks..

[PHP] Re: ftp root dir?

2007-05-22 Thread Johan Holst Nielsen
Al wrote: Can I assume that all ftp_connect()s will make the current dir the DOC_ROOT? First of all - what do you mean with DOC_ROOT? If it is the document root (of what?!). If not, how can I insure the ftp root dir is the same as DOC_ROOT? Define DOC_ROOT :) if you ftp_chdir() and it's

[PHP] Re: FTP Copy

2006-09-19 Thread Tom Atkinson
ftp_rename() should be able do that Matt Palermo wrote: I've been looking on php.net, but can't find anything that covers this... Basically, I am using PHP FTP to connect to an FTP server and run some functions. I want to copy a directory on the FTP server to another directory on the FTP serv

[PHP] Re: FTP Chmod problem

2005-09-29 Thread Matt Palermo
I'm using 5.0.something. "Al" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Matt Palermo wrote: >> Hello everyone. I have a script where I am using FTP functions to chmod >> files/folders. I'm running into a problem with the ftp_chmod() function >> when trying to change the p

[PHP] Re: FTP Chmod problem

2005-09-06 Thread Al
Matt Palermo wrote: Hello everyone. I have a script where I am using FTP functions to chmod files/folders. I'm running into a problem with the ftp_chmod() function when trying to change the permissions of a directory. Here is the code I'm using: ftp_chmod($connId, 0777, $folder); The func

[PHP] Re: FTP Chmod problem

2005-09-05 Thread Matt Palermo
It doesn't make sense to me that the function would work fine on a file and not work on a directory. Moreover, why would the ftp_site chmod command produce a working result and not the ftp_chmod? This seems strange to me. -Matt "Raj Shekhar" <[EMAIL PROTECTED]> wrote in message news:[EMAI

[PHP] Re: FTP Chmod problem

2005-09-05 Thread Raj Shekhar
"Matt Palermo" <[EMAIL PROTECTED]> writes: > ftp_chmod($connId, 0777, $folder); > > The function almost works, but when I check the permission of the folder > after it's run, the folder has 410 for permissions instead of 777. So, it > is changing the permissions, but not to the correct value.

RE: [PHP] Re: FTP info in a variable

2005-02-25 Thread Warren Vail
lessio [mailto:[EMAIL PROTECTED] > Sent: Friday, February 25, 2005 9:13 AM > To: php-general@lists.php.net > Subject: [PHP] Re: FTP info in a variable > > > > I have to write a little program that pulls information from a > > database, formats it into csv format for import

[PHP] Re: FTP info in a variable

2005-02-25 Thread Jamie Alessio
I have to write a little program that pulls information from a database, formats it into csv format for importing into excel and ftps it to another server. I have everything worked out except for the ftping. I have read through http://us4.php.net/manual/en/ref.ftp.php and I know I can get the

[PHP] Re: ftp in php

2004-09-23 Thread Linda
Hi, It's ok - I found another way around what I wanted to do. Regards, Linda, "M. Sokolewicz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Linda wrote: > > Hi, > > > > Does anyone know how to enable ftp in php without having to compile again as > > I get an error when I use the

[PHP] Re: ftp in php

2004-09-23 Thread M. Sokolewicz
Linda wrote: Hi, Does anyone know how to enable ftp in php without having to compile again as I get an error when I use the make command. I read something about making a change to the php.ini file: under Windows Extensions: extension=php_ftp.dll but where is this php_ftp.dll file located? how can

RE: [PHP] Re: ftp software

2004-02-23 Thread Jason Merrique
I second that, What I like the most about WSFTP is that you can edit files on the remote site. Very handy! > -Original Message- > From: Pooya Eslami [mailto:[EMAIL PROTECTED] > Sent: 22 February 2004 21:47 > To: [EMAIL PROTECTED] > Subject: [PHP] Re: ftp software >

Re: [PHP] Re: ftp software

2004-02-22 Thread Shane Nelson
I would highly recomend filezilla: http://filezilla.sourceforge.net/ It's open source, it works great and it doesn't have any ads or spyware like some of the other 'free' windows ftp programs. > > "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello! > >

[PHP] Re: ftp software

2004-02-22 Thread Pooya Eslami
WS FTP is not bad.you cand download the LE version for free here: (the last one at the end of the page!) http://www.ipswitch.com/downloads/index.html -Pooya "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! > > I am new both to PHP and web dev, and I am wonde

[PHP] Re: FTP Synching

2003-07-22 Thread Jean-Christian IMbeault
Jwulff wrote: > How would I download any new files on a remote machine to my local one (in a > specific folder) via ftp? And how does this relate to PHP? I can't see a PHP question in there ... if there is one please make it clear :) Jean-Christian Imbeault --

RE: [PHP] Re: ftp question

2002-09-02 Thread victor
with a folder I create as me to see if I can write to it. - Victor > www.argilent.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 9:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: ftp question Hi, Your script upload the file

[PHP] Re: ftp question

2002-09-02 Thread nicos
Hi, Your script upload the file to /home/victor/argilent-www/sites/kodak/user_pictures/vic/ are you sure that is the correct path name? If its not, just put the entier name and not only a part of it. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PRO

Re: [PHP] Re: FTP commands

2002-07-06 Thread Jose Arce
>From: "Richard Lynch" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [PHP] Re: FTP commands >Date: Sat, 06 Jul 2002 17:02:20 -0500 > > > > >Hi, i'm making a script, that logs some ftp characteristics, like resume > >support an

[PHP] Re: FTP commands

2002-07-06 Thread Richard Lynch
> >Hi, i'm making a script, that logs some ftp characteristics, like resume >support and stuff...i try using ftp_site(), but it's not working > >I want to send a command like REST, but ftp_site() send the command like >this: SITE REST, with the SITE before the command...any way to do it? >Thx :D

[PHP] Re: FTP Clients

2001-11-15 Thread The Big Roach
WS-FTP LE works for me. I've used it for years now. You can find it at Download.com Bunch of stuff there. "Rudi Ahlers" <[EMAIL PROTECTED]> wrote in message 012e01c16d53$5b582120$0c00a8c0@camelot">news:012e01c16d53$5b582120$0c00a8c0@camelot... > Sorry for the totally OT question, but can anyone

[PHP] Re: FTP Clients

2001-11-15 Thread George Whiffen
I kind of like Leech FTP, http://stud.fh-heilbronn.de/~jdebis/leechftp/downloads.html George Rudi Ahlers wrote: > > Sorry for the totally OT question, but can anyone recommend a good, FREE, > FTP client for windows? I now have to pay for AceFTP aswell, which used to > be free. > Thank you >

[PHP] Re: FTP or Telnet files/directories with PHP?

2001-10-27 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeff Gannaway) wrote: > Can PHP run some FTP or TELNET commands? -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

[PHP] Re: ftp

2001-10-02 Thread Richard Lynch
Read php.ini -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Eduardo Kokubo <[EMAIL PROTECT

[PHP] Re: ftp in PHP4

2001-09-22 Thread Chesley A. Windon
Since my original post, the status has changed but let me recap... The file /home/windon/somefile did have permissions set to have anyone read it, but I never checked the permissions on the /home/windon directory. This has since been corrected. Next I was getting a permission denied error, whic

[PHP] Re: ftp in PHP4

2001-09-21 Thread Richard Lynch
Does the PHP user (nobody) have read access to the local file you are trying to upload? Are you 100% sure you have the right things in the filenames?... Print them out right before the ftp_puts line. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna hel

[PHP] Re: FTP Chron Mysql and PHP

2001-09-12 Thread Richard Lynch
Do you have telnet/SSH access? You can simple fopen() the FTP file and read it, or use PHP's FTP functions (not sure which will be easier to provide username/password) and then use http://php.net/explode to extract the fields. You'll also want to read: man 5 crontab which is the one that gives

[PHP] Re: FTP Problem in PHP Version 4.0.4pl1

2001-06-25 Thread David Robley
On Mon, 25 Jun 2001 16:56, muttaqin wrote: > Hello David, > > I have did reconfigure with command : > ./configure -prefix=/usr/local/php --with-mysql --enable-ftp \ > -with-apache=/usr/local/downloads/apache_1.3.17 > > And I have restart apache. > but the problem is the same. > > Thank's > > -