Re: [PHP] Ftp upload

2011-06-15 Thread Steve Staples
On Wed, 2011-06-15 at 07:42 -0400, Marc Guay wrote: > > If that was about 20 years ago, then it would be fine! > > Would have been around 1992, good guesswork! > ugh, i feel old now (even though i am not)... 20 years ago is 1991... i got my car/motorcycle license in 1992 at the age of 16... --

Re: [PHP] Ftp upload

2011-06-15 Thread Marc Guay
> If that was about 20 years ago, then it would be fine! Would have been around 1992, good guesswork! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ftp upload

2011-06-15 Thread Pete Ford
On 15/06/11 01:24, Marc Guay wrote: I bought a 1GB external hard drive for $1000. Did I just choke on my lunch? If that was about 20 years ago, then it would be fine! -- Peter Ford, Developer phone: 01580 89 fax: 01580 893399 Justcroft International Ltd.

Re: [PHP] Ftp upload

2011-06-14 Thread Melinda Smith
Guay [mailto:marc.g...@gmail.com] > Sent: Tuesday, June 14, 2011 8:25 PM > To: PHP General > Subject: Re: [PHP] Ftp upload > > I bought a 1GB external hard drive for $1000. Did I just choke on my > lunch? > > -- > PHP General Mailing List (http://www.php.net/) > To u

RE: [PHP] Ftp upload

2011-06-14 Thread admin
LOL yeah. Since I can buy a 2 terabyte external hard drive and caddy for less than $300. At Best Buy. Richard L. Buskirk... -Original Message- From: Marc Guay [mailto:marc.g...@gmail.com] Sent: Tuesday, June 14, 2011 8:25 PM To: PHP General Subject: Re: [PHP] Ftp upload I bought a 1GB

Re: [PHP] Ftp upload

2011-06-14 Thread Marc Guay
I bought a 1GB external hard drive for $1000. Did I just choke on my lunch? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ftp upload

2011-06-14 Thread Richard Quadling
On 14 June 2011 23:20, Tamara Temple wrote: > Did I just give away my age? Yes. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Ftp upload

2011-06-14 Thread Tamara Temple
On Jun 14, 2011, at 4:42 PM, Richard Quadling wrote: On 14 June 2011 22:27, Tamara Temple wrote: On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote: So, say, they make audiobooks or movies and they want them to be available as (paid) download. How should they upload it so

Re: [PHP] Ftp upload

2011-06-14 Thread Richard Quadling
On 14 June 2011 22:27, Tamara Temple wrote: > On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote: >> >> So,  say,  they  make  audiobooks  or  movies and they want them to be >> available   as   (paid)  download.  How  should they upload it so they >> would be in the catalog? > > If it's really

Re: [PHP] Ftp upload

2011-06-14 Thread Tamara Temple
On Jun 14, 2011, at 12:59 PM, Andre Polykanine wrote: So, say, they make audiobooks or movies and they want them to be available as (paid) download. How should they upload it so they would be in the catalog? If it's really large data like that, and they have a lot of it, maybe up

Re: [PHP] Ftp upload

2011-06-14 Thread Andre Polykanine
n...@oire.org] Sent: Tuesday, June 14, 2011 10:02 AM To: ad...@buskirkgraphics.com Cc: 'Php General' Subject: Re: [PHP] Ftp upload Hi Richard, Thanks a lot! So can I let them upload, say, a 700 Mb file via POST or should I consider connecting to FTP? -- With best regards from Ukr

Re: [PHP] Ftp upload

2011-06-14 Thread Eli Orr (Office)
Dear Experts, Can you please advise how can I detect a string if it is UTF-8 or now and how can I if possible convert a string to a utf-8 ? Here's the string I got from client - client sends it via POST with urlencode and does apply UTF-8 encoding on the string. Here's the string I got: 

RE: [PHP] Ftp upload

2011-06-14 Thread admin
--Original Message- From: Andre Polykanine [mailto:an...@oire.org] Sent: Tuesday, June 14, 2011 10:02 AM To: ad...@buskirkgraphics.com Cc: 'Php General' Subject: Re: [PHP] Ftp upload Hi Richard, Thanks a lot! So can I let them upload, say, a 700 Mb file via POST or should I consid

Re: [PHP] Ftp upload

2011-06-14 Thread Andre Polykanine
Hi Richard, Thanks a lot! So can I let them upload, say, a 700 Mb file via POST or should I consider connecting to FTP? -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://

RE: [PHP] Ftp upload

2011-06-14 Thread admin
Andre, I have checked the $_POST, and THE $_FILES. I am pretty sure the actual path is not passed. Now you can find the path on the server in the tmp_name of the $_FILES array. I have read a few DOM related issue concerning the PATH of the file uploaded in mulitpart/form-data. Microsoft: Inter

Re: [PHP] FTP Site

2010-02-16 Thread Michael A. Peters
Ben Miller wrote: Hi, I'm building a site for a client that has a need to allow their users to upload large files (up to 100mb or more) and store them on the server. I've never had a need to work with PHP's FTP functions until now and, before I go reading the manual to learn how, I wanted t

Re: [PHP] FTP Site

2010-02-16 Thread Rene Veerman
The only 1 i ever got to work properly for files > 100 mb is http://jumploader.com/ It's java, and free. On Tue, Feb 16, 2010 at 9:12 PM, Ben Miller wrote: > Hi, > > > > I'm building a site for a client that has a need to allow their users to > upload large files (up to 100mb or more) and store

Re: [PHP] FTP Site

2010-02-16 Thread Ashley Sheridan
On Tue, 2010-02-16 at 15:21 -0500, Robert Cummings wrote: > Ben Miller wrote: > > Hi, > > > > I'm building a site for a client that has a need to allow their users to > > upload large files (up to 100mb or more) and store them on the server. I've > > never had a need to work with PHP's FTP funct

Re: [PHP] FTP Site

2010-02-16 Thread Ryan Sun
I think you will need the help from a client side app, like java applet or flash, php can transfer file from your web server to your ftp server but people will have difficulty uploading file via bare browser On Tue, Feb 16, 2010 at 3:12 PM, Ben Miller wrote: > Hi, > > > > I'm building a site for

Re: [PHP] FTP Site

2010-02-16 Thread Robert Cummings
Ben Miller wrote: Hi, I'm building a site for a client that has a need to allow their users to upload large files (up to 100mb or more) and store them on the server. I've never had a need to work with PHP's FTP functions until now and, before I go reading the manual to learn how, I wanted to se

Re: [PHP] ftp root dir?

2007-05-24 Thread Richard Lynch
On Tue, May 22, 2007 10:19 am, Al wrote: > I know that; but, I writing a script, that can be used on different > servers, which creates a directory and I want to > make certain it is created on the DOC ROOT. I don't want the user to > have to test the ftp connection with a ftp utility > program fi

Re: [PHP] ftp root dir?

2007-05-24 Thread Richard Lynch
On Tue, May 22, 2007 9:50 am, Al wrote: > Can I assume that all ftp_connect()s will make the current dir the > DOC_ROOT? Probably not. If I FTP connect to *my* webhosted servers, I'm put into a directory which contains 'www' and 'php' and 'private' which are set up by the host for 'DOCUMENT_ROOT'

Re: [PHP] ftp root dir?

2007-05-22 Thread Robert Cummings
On Tue, 2007-05-22 at 11:19 -0400, Al wrote: > I know that; but, I writing a script, that can be used on different servers, > which creates a directory and I want to > make certain it is created on the DOC ROOT. I don't want the user to have to > test the ftp connection with a ftp utility > pr

Re: [PHP] ftp root dir?

2007-05-22 Thread Al
I know that; but, I writing a script, that can be used on different servers, which creates a directory and I want to make certain it is created on the DOC ROOT. I don't want the user to have to test the ftp connection with a ftp utility program first. Jim Moseby wrote: r? Can I assume tha

RE: [PHP] ftp root dir?

2007-05-22 Thread Jim Moseby
r? > > > Can I assume that all ftp_connect()s will make the current > dir the DOC_ROOT? > > If not, how can I insure the ftp root dir is the same as DOC_ROOT? > > You can't use the absolute path with ftp. > > chdir() doesn't change the ftp current dir. > > if you ftp_chdir() and it's already

Re: [PHP] FTP issues

2007-02-28 Thread Richard Lynch
On Wed, February 28, 2007 8:21 am, Larry Bradley wrote: > I've written a PHP program to "mirror" data on a local drive to a > remote > FTP server. It compares file mod times, and only uploads files that > are > newer. Works like a charm. Except --- Did you consider just using rsync?... > To exam

Re: [PHP] FTP issues

2007-02-28 Thread Jochem Maas
is your 'local system' linux? then the totally non answer is probably that you should be using rsync. if it's a windows machine you can probably still use rsync there by running it on top of cygwin. I would also recommend tunnelling the rsync traffic through an SSH connection. Larry Bradley wrot

Re: [PHP] FTP Error

2007-01-19 Thread Jim Lucas
> Warning: ftp_put(): php_connect_nonb() failed: No route to host (65) in > /home/beachgla/public_html/catalog/update/index.php on line 475 This tells me that you are unable to find/connect to the "ftpServer" that you are giving ftp_connect() I am wondering if your conditional was not working

Re: [PHP] Ftp a file-->errors in rendered page, Ftp the file again-->works fine. Huh?

2006-11-23 Thread Travis Doherty
Nicholas Crosby wrote: >Hello: > >I would appreciate any help on this that someone might have. A student of >mine found this issue. He ftp's a file to a server and looks at it through a >browser, there are errors. He uploads the file again, it works fine. I am >stumped. Any ideas? Here is the text

Re: [PHP] FTP - folders

2006-10-24 Thread tedd
At 8:35 PM -0500 10/23/06, Rob Kritzer wrote: Yes Tedd, This is what I am having trouble with, I can see where you can upload each file, but all I really need it to do is take the contents of a folder and upload everything it finds in the directory. Rob Rob: I understand what you're trying t

Re: [PHP] FTP - folders

2006-10-24 Thread Roman Neuhauser
Don't top-post. # [EMAIL PROTECTED] / 2006-10-23 20:35:16 -0500: > On 10/23/06, tedd <[EMAIL PROTECTED]> wrote: > >At 8:42 PM +0100 10/23/06, Stut wrote: > >>Rob Kritzer wrote: > >>>Is it possible to FTP a folder and all it's content? I can do a > >>>file at a time, but not a folder. > >>> > >>>Al

Re: [PHP] FTP - folders

2006-10-23 Thread Rob Kritzer
Yes Tedd, This is what I am having trouble with, I can see where you can upload each file, but all I really need it to do is take the contents of a folder and upload everything it finds in the directory. Rob On 10/23/06, tedd <[EMAIL PROTECTED]> wrote: At 8:42 PM +0100 10/23/06, Stut wrote:

Re: [PHP] FTP - folders

2006-10-23 Thread Richard Lynch
On Mon, October 23, 2006 5:07 pm, tedd wrote: > Interesting. > > So a php server-side php script can establish a two-way communication > with a client-side php script -- do you have an example? http://php.net/sockets should have an example... -- Some people have a "gift" link here. Know what I w

Re: [PHP] FTP - folders

2006-10-23 Thread Stut
tedd wrote: Interesting. So a php server-side php script can establish a two-way communication with a client-side php script -- do you have an example? http://php.net/sockets -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP - folders

2006-10-23 Thread tedd
At 2:56 PM -0700 10/23/06, Ed Lazor wrote: On Oct 23, 2006, at 2:27 PM, Richard Lynch wrote: On the Mac, I always dug "Fetch" personally. Nice... I've been looking for something like Fetch. Yeah, Fetch is super cool, but it's been around as long as I have -- I'm surprised you haven't heard

Re: [PHP] FTP - folders

2006-10-23 Thread tedd
At 4:27 PM -0500 10/23/06, Richard Lynch wrote: On Mon, October 23, 2006 4:18 pm, tedd wrote: I certainly can read the contents of a folder on the server, but I don't see how you can do it client-side. E. You could install PHP on the client and do it with PHP. Interesting. So a php s

Re: [PHP] FTP - folders

2006-10-23 Thread Ed Lazor
On Oct 23, 2006, at 2:27 PM, Richard Lynch wrote: On the Mac, I always dug "Fetch" personally. Nice... I've been looking for something like Fetch. PC, you got your CuteFTP and all that ilk. SecureFTP by VanDyke rocks. Now, on *nix, SCP is nice for that, if you have SSH shell access. If

Re: [PHP] FTP - folders

2006-10-23 Thread Richard Lynch
On Mon, October 23, 2006 4:18 pm, tedd wrote: > I certainly can read the contents of a folder on the server, but I > don't see how you can do it client-side. E. You could install PHP on the client and do it with PHP. Or it could be TOTALLY OFF-TOPIC > Now, am I right, or do you have a way t

Re: [PHP] FTP - folders

2006-10-23 Thread tedd
At 8:42 PM +0100 10/23/06, Stut wrote: Rob Kritzer wrote: Is it possible to FTP a folder and all it's content? I can do a file at a time, but not a folder. Also there is times when I will not know the folder name, so I would like it to just upload everything it finds in the folder I set. Is th

Re: [PHP] FTP - folders

2006-10-23 Thread Stut
Rob Kritzer wrote: Is it possible to FTP a folder and all it's content? I can do a file at a time, but not a folder. Also there is times when I will not know the folder name, so I would like it to just upload everything it finds in the folder I set. Is this possilbe? Yes[1][2]. -Stut [1]

Re: [PHP] FTP

2006-10-09 Thread Richard Lynch
Uploading huge files via HTTP is generally problematic. Set up FTP usernames/passwords/directories for each of his clients is probably the "best" answer. On Sun, October 8, 2006 6:05 am, Raphael Martins wrote: > I will be sending files over my php script... One client asked me for > a > project w

Re: [PHP] FTP

2006-10-09 Thread Richard Lynch
On Sat, October 7, 2006 6:50 pm, Raphael Martins wrote: > When I send files via FTP, the file size is limited to the php.ini max > upload value? Yes. :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lyn

Re: [PHP] FTP

2006-10-09 Thread Chris
Stut wrote: Raphael Martins wrote: I will be sending files over my php script... One client asked me for a project where he allow clients to send some large files (like 50mb)...I thought that FTP (via PHP) will allow that. Today he just give the FTP server user and password to his clients, bu

Re: [PHP] FTP

2006-10-08 Thread Stut
Raphael Martins wrote: I will be sending files over my php script... One client asked me for a project where he allow clients to send some large files (like 50mb)...I thought that FTP (via PHP) will allow that. Today he just give the FTP server user and password to his clients, but he is worrie

Re: [PHP] FTP

2006-10-08 Thread Yannick Warnier
Le dimanche 08 octobre 2006 à 08:05 -0300, Raphael Martins a écrit : > I will be sending files over my php script... One client asked me for a > project where he allow clients to send some large files (like 50mb)...I > thought that FTP (via PHP) will allow that. > > Today he just give the FTP ser

Re: [PHP] FTP

2006-10-08 Thread Raphael Martins
I will be sending files over my php script... One client asked me for a project where he allow clients to send some large files (like 50mb)...I thought that FTP (via PHP) will allow that. Today he just give the FTP server user and password to his clients, but he is worried about the security (of

Re: [PHP] FTP

2006-10-08 Thread Yannick Warnier
Le samedi 07 octobre 2006 à 20:50 -0300, Raphael Martins a écrit : > Hi, > > When I send files via FTP, the file size is limited to the php.ini max > upload value? > Thank you! No, unless you handle the FTP server with a PHP script. php.ini only limits the size of files handled by PHP (generally

Re: [PHP] FTP

2006-10-07 Thread Brad Chow
Hi Martins, Of course. You can alter it you want. I remember that file size limit devided into two type: 1) local access 2) remote access file size limit only limit remote access because I can upload file from local more than limit. Good luck!! Brad On 10/8/06, Raphael Martins <[EMAIL PROTEC

Re: [PHP] FTP Copy

2006-09-22 Thread Richard Lynch
On Tue, September 19, 2006 8:14 pm, Chris wrote: ... FTP copy ... Depending on the security issues, and SCP from exec() may be more suitable... Another option would be to upload a PHP script to one or the other that does the FTP you want one way or the other... :-) -- Like Music? http://l-i-e.c

Re: [PHP] FTP Copy

2006-09-19 Thread Chris
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 server. Since there isn't an ftp_copy()

Re: [PHP] FTP - moving/copying files

2006-06-29 Thread Jochem Maas
James Nunnerley wrote: > I'm setting up an ftp manager which allows a user to connect to their space > on an external server. > > > > All the php-ftp functions work fine - after I'd realized how to use the > passive functionality - see previous email to list! > > > > I've also got working t

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

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP Mailing Lists" Sent: Thursday, September 22, 2005 9:08 PM Subject: Re: [PHP] FTP Gustav Wiberg wrote: Hi again! Yes, you're right... I get this error now... Fatal er

Re: [PHP] FTP

2005-09-22 Thread John Nichel
Gustav Wiberg wrote: Hi again! Yes, you're right... I get this error now... Fatal error: Call to undefined function: ftp_connect() in /customers/varupiraten.se/varupiraten.se/httpd.www/web/do_ftp.php on line 8 Isn't it enough to ftp to be a registred stream? Here is the info of PHP... http

Re: [PHP] FTP

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP Mailing Lists" Sent: Thursday, September 22, 2005 8:53 PM Subject: Re: [PHP] FTP Gustav Wiberg wrote: Hi all! I took this code directly from PHP.net but I don't get it to work cor

Re: [PHP] FTP

2005-09-22 Thread John Nichel
Gustav Wiberg wrote: Hi all! I took this code directly from PHP.net but I don't get it to work correctly...I've never worked with ftp-connections with PHP before... $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server"); // try to login if (@ftp_login($conn_id, $ftp

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_

Re: [PHP] ftp upload via web form - problem getting the file name correct

2005-03-08 Thread Steve Turnbull
Franklin van de Meent wrote: > Hello Steve, > > I tried this on my own servers and after replacing "" > with $ftp_server it works perfectly, all ASCII files get uploaded the > way they should with the correct filenames. > > Do you get any errors? (add error_reporting(E_ALL); above the login > va

Re: [PHP] ftp upload via web form - problem getting the file name correct

2005-03-08 Thread Franklin van de Meent
Hello Steve, I tried this on my own servers and after replacing "" with $ftp_server it works perfectly, all ASCII files get uploaded the way they should with the correct filenames. Do you get any errors? (add error_reporting(E_ALL); above the login vars to show them all) -- PHP General Mailing

Re: [PHP] FTP functions

2005-03-07 Thread Tim Boring
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

RE: [PHP] FTP info in a variable

2005-02-25 Thread Tyler Replogle
Yes i think you can but i really won't do that. It does depend on the server and php verison that is installed on the server. From: Steve Buehler <[EMAIL PROTECTED]> To: PHP Subject: [PHP] FTP info in a variable Date: Thu, 24 Feb 2005 11:19:25 -0600 MIME-Version: 1.0 Received: from lists.php.net

Re: [PHP] FTP info in a variable

2005-02-25 Thread Richard Lynch
Steve Buehler wrote: > 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.f

Re: [PHP] FTP info in a variable

2005-02-25 Thread Steve Buehler
At 11:07 AM 2/25/2005, you wrote: Steve Buehler wrote: > 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

Re: [PHP] FTP info in a variable

2005-02-25 Thread Richard Lynch
The list has definitely been quite funky last night and today... Steve Buehler wrote: > original message > 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 everythin

RE: [PHP] FTP script and project

2005-02-09 Thread Jay Blanchard
[snip] I'm in need of some fully functional stand-alone php FTP scripts, I've searched the web, have downloaded a couple but they don't work. While this looks valid and appears to be uploading the file, no file is ever saved other than a temporary file that vanishes as soon as the file has comp

Re: [PHP] FTP script and project

2005-02-08 Thread Jason Wong
On Wednesday 09 February 2005 12:58, D.Walsh wrote: > I'm in need of some fully functional stand-alone php FTP scripts, I've > searched the web, have downloaded a couple but they don't work. > > While this looks valid and appears to be uploading the file, no file is > ever saved other than a tempor

Re: [PHP] ftp functions not working

2004-09-02 Thread Michal Migurski
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

Re: [PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
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'

Re: [PHP] ftp functions not working

2004-09-02 Thread Pablo M. Rivas
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

Re: [PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
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

Re: [PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
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

Re: [PHP] ftp functions not working

2004-09-02 Thread Michal Migurski
#!/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

Re: [PHP] ftp functions not working

2004-09-02 Thread Jason Wong
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

Re: [PHP] ftp functions not working

2004-09-02 Thread Marek Kilimajer
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.

RE: [PHP] FTP loading

2004-04-01 Thread Pablo Gosse
Lieve Vissenaeken wrote: > Please help me, > > Is it possible with php to load immedeatly pictures into a website by > users (by use of a ftp-statement) ? I mean: so that any user on my > website can add a picture to that website which is immedeatly visible > on that webiste? If this is possible,

Re: [PHP] FTP loading

2004-04-01 Thread Raditha Dissanayake
Lieve Vissenaeken wrote: Please help me, Is it possible with php to load immedeatly pictures into a website by users (by use of a ftp-statement) ? I mean: so that any user on my website can add a picture to that website which is immedeatly visible on that webiste? If this is possible, where can I

Re: [PHP] FTP alternative to copy() ?

2004-03-02 Thread raisinlove
Raisinlove wrote: Raditha Dissanayake wrote: then use `cp source destination` In my php script? This must be executed automaticaly by the script. I probably have no other choice than copy() then. -s Ok, I found the solution! ftp_rename() was what I was looking for. Funny no one mentioned it! I sma

Re: [PHP] FTP alternative to copy() ?

2004-03-02 Thread raisinlove
Raditha Dissanayake wrote: then use `cp source destination` In my php script? This must be executed automaticaly by the script. I probably have no other choice than copy() then. -s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP alternative to copy() ?

2004-03-01 Thread Raditha Dissanayake
then use `cp source destination` that should work. raisinlove wrote: Raditha Dissanayake wrote: Hi, Are you trying to copy from the FTP to the web server or are you trying to pass it through to the end user? if you are on the same network other options include RCP (insecure) and SCP (secure)

Re: [PHP] FTP alternative to copy() ?

2004-03-01 Thread raisinlove
Raditha Dissanayake wrote: Hi, Are you trying to copy from the FTP to the web server or are you trying to pass it through to the end user? if you are on the same network other options include RCP (insecure) and SCP (secure) Actually, it's much simpler than that but it might be overkill. My overal

Re: [PHP] FTP alternative to copy() ?

2004-03-01 Thread Raditha Dissanayake
Hi, Are you trying to copy from the FTP to the web server or are you trying to pass it through to the end user? if you are on the same network other options include RCP (insecure) and SCP (secure) Richard Davey wrote: r> Hi, I'd like to know if there's an alternative to copy() to copy a file

Re: [PHP] FTP alternative to copy() ?

2004-03-01 Thread Richard Davey
Hello, Monday, March 1, 2004, 2:24:39 PM, you wrote: r> Hi, I'd like to know if there's an alternative to copy() to copy a file r> from one directory to another, using the FTP functions? r> I figured I could probably open the file from the server and save/upload r> it to a specified path. r> Ca

RE: [PHP] ftp software

2004-02-22 Thread electroteque
www.smartftp.com -Original Message- From: Nathan McIntyre [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 8:37 AM To: [EMAIL PROTECTED] Subject: [PHP] ftp software Hello! I am new both to PHP and web dev, and I am wondering what ftp software would be best for me to use. -

Re: [PHP] FTP (via firewall)

2004-02-18 Thread Raditha Dissanayake
- what is the firewall doing? - what are you trying to do? cant' resist a me too post. - what is the firewall doing? - what are you trying to do? -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://ww

Re: [PHP] FTP (via firewall)

2004-02-18 Thread Jason Wong
On Wednesday 18 February 2004 18:27, Tommi Virtanen wrote: > This is simple, but I have firewall How to enter firewall ip Either I am stupid or you're not explaining the problem clearly enough. For starters: - what is the firewall doing? - what are you trying to do? -- Jason Wong -> G

Re: [PHP] FTP (via firewall)

2004-02-18 Thread Tommi Virtanen
Please explain exactly what the problem is. If you had a firewall in the way and a normal FTP client couldn't login then whatever you do in PHP would not be able to get you in either. (from php.net) $conn_id = ftp_connect($ftp_server); $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_use

Re: [PHP] FTP (via firewall)

2004-02-18 Thread Jason Wong
On Wednesday 18 February 2004 17:34, Tommi Virtanen wrote: > It's quite easy to write code, which connect to FTP-site (and upload one > file), but How I can do it, if I had Firewall (like 123.123.123.123), > and Firewall > type is USER with no logon (following text from WS_FTP). Please expla

Re: [PHP] FTP resumepos

2003-10-14 Thread Andrei Popovici
So, resumepos is the number of bytes from wich the ftp_get will start reading the 'remote_file' and writing to the 'local-file'? Andrei. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Andrei Popovici ([EMAIL PROTECTED]): > > Can anyone help me understand

Re: [PHP] FTP resumepos

2003-10-13 Thread Curt Zirzow
* Thus wrote Andrei Popovici ([EMAIL PROTECTED]): > Can anyone help me understand how the parameter resumepos from ftp_get > function can be used? ftp_get will first seek the value 'resumepos' within the 'remote_file', before it starts to write to 'local_file'. Curt -- "My PHP key is worn out"

  1   2   >