Hello!
On Mon, 2005-03-07 at 18:20 +0530, Vaibhav Sibal wrote:
> Hi
> I checked ou the ftp functions of PHP, what I wanted to ask was that
> if I connect to a remote server and issue and ftp_fget() command the
> file will be downloaded to the server running the PHP code and Apache
> webserver or t
Hi
I checked ou the ftp functions of PHP, what I wanted to ask was that
if I connect to a remote server and issue and ftp_fget() command the
file will be downloaded to the server running the PHP code and Apache
webserver or the client machine from which we are calling it ? In the
sense for example
shell>$php -r "phpinfo();" | grep ftp
Registered PHP Streams => php, http, ftp, compress.zlib
shell>$
I looked at the complete output and did not see that anything else for
FTP. What do I need to do add FTP support for the CLI?
Just to be absolutely sure, try to use `grep -i ftp` -- the "FTP" in
I figured out why that it wasn't working. My prefix isn't the standard
default prefix. I put php in /usr/local/apache/php. Though my script
calls for /usr/local/bin/php...that php binary was copied there from the
previous installation. Therefore, when I recompiled it was still using
the 'old'
mhhh.. try this:
#!/usr/local/bin/php
and look on the console if you see ftp enabled...
¿do you have only ONE PHP INSTALL IN YOUR BOX?.. or two?
On Thu, 02 Sep 2004 09:43:27 -0500, Cory D. Wiles <[EMAIL PROTECTED]> wrote:
> I am writing some backup scripts that will ftp my *.gz files to my ftp
Michal Migurski wrote:
#!/usr/local/bin/php
output when ran: 'Damn'
During the make I didn't see any errors. When I ran phpinfo()
[http://www.randomthoughtprocess.com/info.php] it shows that I have
FTP support. Is there something that I am missing?
The version of PHP you're running on the comm
Marek Kilimajer wrote:
Cory D. Wiles wrote:
I am writing some backup scripts that will ftp my *.gz files to my ftp
server. Unfortunately I didn't originally install php with ftp support
(oversight on my part). I reconfigured/installed PHP with --enable-ftp
and restarted everything, but the funct
#!/usr/local/bin/php
output when ran: 'Damn'
During the make I didn't see any errors. When I ran phpinfo()
[http://www.randomthoughtprocess.com/info.php] it shows that I have
FTP support. Is there something that I am missing?
The version of PHP you're running on the command-line may or may not
On Thursday 02 September 2004 22:43, Cory D. Wiles wrote:
> #!/usr/local/bin/php
> During the make I didn't see any errors. When I ran phpinfo()
> [http://www.randomthoughtprocess.com/info.php] it shows that I have FTP
> support. Is there something that I am missing?
You're using php-cli. What
Cory D. Wiles wrote:
I am writing some backup scripts that will ftp my *.gz files to my ftp
server. Unfortunately I didn't originally install php with ftp support
(oversight on my part). I reconfigured/installed PHP with --enable-ftp
and restarted everything, but the functions still don't work.
I am writing some backup scripts that will ftp my *.gz files to my ftp
server. Unfortunately I didn't originally install php with ftp support
(oversight on my part). I reconfigured/installed PHP with --enable-ftp
and restarted everything, but the functions still don't work.
#!/usr/local/bin/php
Hi,
I was just wondering given that only the standard FTP functions are
supported by PHP, is there anyway to actually resume a download? The
only thing that seems even capable of issuing any versatile commands is
ftp_site, and that only issues site commands.
I haven't had much luck with creat
machine.
Jim
- Original Message -
From: "sundogcurt" <[EMAIL PROTECTED]>
To: "GENERAL PHP LIST" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 11:34 AM
Subject: Re: [PHP] ftp functions
> Would you suggest that I use the copy function instead?
&g
do, ftp will not work.
>
>Jim Lucas
>- Original Message -
>From: "sundogcurt" <[EMAIL PROTECTED]>
>To: "GENERAL PHP LIST" <[EMAIL PROTECTED]>
>Sent: Monday, January 21, 2002 10:47 AM
>Subject: [PHP] ftp functions
>
>
>>
>>
Lucas
- Original Message -
From: "sundogcurt" <[EMAIL PROTECTED]>
To: "GENERAL PHP LIST" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 10:47 AM
Subject: [PHP] ftp functions
>
> Before I get flamed for not reading the manual or trying on my own, I
Before I get flamed for not reading the manual or trying on my own, I
would just like to say that I have been working on this for a few days
and have read the manual and looked at quite a few examples, all of
which seem to elude me.
I want to upload an image, and I want to use the ftp functi
I started to use FTP functions and I would greatly appreciate some
confirmation :
- It is not using FTP function than I can download file to a client's
computer. (is there a way other than the ?)
- I can not read the name of the files that are on a client's computer. (The
client would select a
I was wondering what security risks there are when using FTP functions. I
created a browser-based management site for my clients so they may write and
upload files to the server. I had to use FTP functions because there was
some problem with file owner/permission being set to 'nobody'. Supposed
I am trying to get a directory listing over ftp with the ftp_nlist()
function. The problem is that the directory name has spaces in it and it
looks like ftp_nlist() chops the string at each space and performs a
separate listing for each word, which fails. I have tried quoting,
urlencoding and rawu
19 matches
Mail list logo