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-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 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... --

[PHP] Ftp upload

2011-06-14 Thread Andre Polykanine
Hi everyone, I would like to have a possibility to upload really large files to the website. As we all know, the post_max_size parameter is set to 8Mb by default. However, I see that the ftp_put() function has a local filepath parameter. And the question is: how can I retrieve the local

RE: [PHP] Ftp upload

2011-06-14 Thread admin
type=file name=fupload input type=submit value=Send file! /form /body /html Richard L. Buskirk -Original Message- From: Andre Polykanine [mailto:an...@oire.org] Sent: Tuesday, June 14, 2011 7:38 AM To: Php General Subject: [PHP] Ftp upload Hi everyone, I would like to have

Re: [PHP] Ftp upload

2011-06-14 Thread Andre Polykanine
://facebook.com/menelion Original message From: ad...@buskirkgraphics.com ad...@buskirkgraphics.com To: 'Andre Polykanine' Date created: , 3:41:59 PM Subject: [PHP] Ftp upload Andre, I have checked the $_POST, and THE $_FILES. I am pretty sure the actual path

RE: [PHP] Ftp upload

2011-06-14 Thread admin
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 consider connecting to FTP

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 Andre Polykanine
) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: ad...@buskirkgraphics.com ad...@buskirkgraphics.com To: 'Andre Polykanine' Date created: , 5:46:00 PM Subject: [PHP] Ftp upload Andre, Anything over 7 MB

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

Re: [PHP] Ftp upload

2011-06-14 Thread Richard Quadling
On 14 June 2011 22:27, Tamara Temple tamouse.li...@gmail.com 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

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 tamouse.li...@gmail.com 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

Re: [PHP] Ftp upload

2011-06-14 Thread Richard Quadling
On 14 June 2011 23:20, Tamara Temple tamouse.li...@gmail.com 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:

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 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 Melinda Smith
...@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 unsubscribe, visit: http://www.php.net/unsub.php -- PHP

[PHP] FTP Site

2010-02-16 Thread Ben Miller
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 see if this

Re: [PHP] FTP Site

2010-02-16 Thread Robert Cummings
to see if this something that I can handle with just PHP, or if I'm going to need to adopt a third party Ajax app or something like that? Any thoughts or even a point in the right direction would be greatly appreciated. Thanks, The PHP FTP functions are for client access to a remote server, not so

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 biprel...@gmail.com wrote: Hi, I'm

Re: [PHP] FTP Site

2010-02-16 Thread Ashley Sheridan
, The PHP FTP functions are for client access to a remote server, not so that PHP can act as an FTP server. To resolve the issue you'll have to either give them FTP access, SSH access, or allow huge uploads. If you insist on doing it via PHP, you can use a .htaccess configuration

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 biprel...@gmail.com 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

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

[PHP] FTP: File or directory?

2009-08-14 Thread Clancy
or directory, either in PHP FTP or plain FTP. I could try to change to them, or download them, but this seems overkill. Am I overlooking something obvious? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 first.

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'

[PHP] ftp root dir?

2007-05-22 Thread Al
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 on the root, it posts an

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

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 on the

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

Re[2]: [PHP] ftp root dir?

2007-05-22 Thread Richard Davey
Hi Al, Tuesday, May 22, 2007, 4:19:22 PM, you 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

[PHP] FTP issues

2007-02-28 Thread Larry Bradley
The following issues are not really PHP issues, but more properly FTP server issues, but perhaps people on the list have some ideas on how to solve my problems. 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

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

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 examine the

[PHP] FTP + Password ?

2007-02-14 Thread Helder Lopes
i people. I need a help. How to put a password in a folder, in the ftp, via a script? Anybody knows?? Im pt, Sorry for my english!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FTP Error

2007-01-19 Thread Eddie Schnell
Description: Warning: ftp_put(): php_connect_nonb() failed: No route to host (65) I get this error with the reproduce code. it also says Warning: ftp_put(): Type set to I. It is not uploading the file correctly. i have php 4.4.1 on iPowerWeb's server, so no upgrade is possible.

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

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

2006-11-23 Thread Nicholas Crosby
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 of the file that he is

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 of

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. Also there is times when

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

[PHP] FTP - folders

2006-10-23 Thread Rob Kritzer
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? Thanks

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 - 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

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 to

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 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

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 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 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 want?

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

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,

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/lynch

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 where

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 via

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

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 server

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

[PHP] FTP

2006-10-07 Thread Raphael Martins
Hi, When I send files via FTP, the file size is limited to the php.ini max upload value? Thank you!

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

[PHP] FTP

2006-10-06 Thread Raphael Martins
Hi, I need to send large files over my website...I was wondering if I could do this using the PHP FTP Commands. The files will be larger then the MAX_UPLOAD_SIZE in php.ini. Is that possible? Or should I use a regular FTP program? Thank you!

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?

[PHP] FTP Copy

2006-09-19 Thread Matt Palermo
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() function, I have

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

[PHP] FTP - moving/copying files

2006-06-29 Thread James Nunnerley
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 the download and upload functionality, which

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

[PHP] FTP Problems

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

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

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 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

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 James Nunnerley
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 party server into the one

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 : Nope

Re: [PHP] FTP Problems

2006-06-27 Thread Jochem Maas
enough, I've also just tried a generic php/ftp script tool, and it works on a third party server into the one I'm trying to connect to, but not from the server I'm working on! Is there anyway in which php needs configuring for certain connections? -Original Message- From: chris smith

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've tried / and indeed the real

RE: [PHP] FTP Problems

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

Re: [PHP] FTP Problems

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

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

[PHP] FTP

2005-09-22 Thread Gustav Wiberg
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... ?php $ftp_server = ftp.example.com; $ftp_user = foo; $ftp_pass = bar; // set up a connection or die $conn_id = ftp_connect($ftp_server) or

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... ?php $ftp_server = ftp.example.com; $ftp_user = foo; $ftp_pass = bar; // set up a connection or die $conn_id =

Re: [PHP] FTP

2005-09-22 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP Mailing Lists php-general@lists.php.net 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 correctly...I've

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...

Re: [PHP] FTP

2005-09-22 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP Mailing Lists php-general@lists.php.net 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 error: Call to undefined

[PHP] FTP Chmod problem

2005-09-04 Thread Matt Palermo
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 function almost works,

[PHP] ftp problems

2005-08-03 Thread tripwater
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

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

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

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 OUR FTP SERVER 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

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 OUR FTP SERVER 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

[PHP] FTP functions

2005-03-07 Thread Vaibhav Sibal
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

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 the

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

2005-03-07 Thread Steve Turnbull
Hi I have tried creating a script which will allow our core staff to upload files to our FTP server. I don't have a problem with the uploading of a local file to our FTP server with the correct authentication etc, the problem I am having, is that the file which gets uploaded always has the

[PHP] FTP info in a variable

2005-02-25 Thread Steve Buehler
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

[PHP] FTP info in a variable

2005-02-25 Thread Steve Buehler
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 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 everything

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
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 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 php-general@lists.php.net Subject: [PHP] FTP info in a variable Date: Thu, 24 Feb 2005 11:19:25 -0600 MIME-Version: 1.0

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

[PHP] FTP script and project

2005-02-08 Thread D . Walsh
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 completed

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 temporary

  1   2   3   >