RE: [PHP] ftp_put issues

2009-04-16 Thread James
Hi, yeah ftp manually works just fine using the same login too. James -Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Wednesday, April 15, 2009 10:09 PM To: James Cc: php-general@lists.php.net Subject: Re: [PHP] ftp_put issues James wrote: Hi, I'm trying to upload

Re: [PHP] ftp_put issues

2009-04-16 Thread j's php general
@lists.php.net Subject: Re: [PHP] ftp_put issues James wrote: Hi, I'm trying to upload a pdf file from a local drive to the server using a php routine. I've done it server to server before with no issues but this just keeps failing on me. This is the function I'm calling, it connects and logs in just

RE: [PHP] ftp_put issues

2009-04-16 Thread James Hill
, April 16, 2009 10:07 AM To: James Cc: php-general@lists.php.net Subject: Re: [PHP] ftp_put issues On Thu, Apr 16, 2009 at 9:27 PM, James mli...@ichor-interactive.com wrote: Hi, yeah ftp manually works just fine using the same login too. James -Original Message- From

Re: [PHP] ftp_put issues

2009-04-16 Thread j's php general
On Thu, Apr 16, 2009 at 10:24 PM, James Hill ja...@ichor-interactive.com wrote: The ftpData function and in fact all the php stuff is running online on my webserver. The pdf file is on my local machine, I'm trying to upload the local pdf file to the server using ftp. The dest variable I

RE: [PHP] ftp_put issues

2009-04-16 Thread James Hill
Ah ok, I guess that would explain it. Thanks for your help :-) -Original Message- From: j's php general [mailto:php-generals-php-dot-...@jhive.net] Sent: Thursday, April 16, 2009 10:39 AM To: James Hill Cc: php-general@lists.php.net Subject: Re: [PHP] ftp_put issues On Thu, Apr 16, 2009

Re: [PHP] ftp_put issues

2009-04-15 Thread Chris
James wrote: Hi, I'm trying to upload a pdf file from a local drive to the server using a php routine. I've done it server to server before with no issues but this just keeps failing on me. This is the function I'm calling, it connects and logs in just fine, but it will not upload the file.

Re: [PHP] ftp_put() problem??

2007-05-24 Thread Tom Chubb
On 24/05/07, Al [EMAIL PROTECTED] wrote: Can anyone help with this. On a Linux/Apache server. I want to simply copy a file with ftp_put() from one dir to another. To make certain I'm pointing to the correct dirs, I'm using this: print_r(ftp_nlist($conn_id, FTP_EP_DIR)); //It is the correct

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-11 Thread Chris
When safe mode is enabled, PHP checks whether the files or directories you are about to operate on have the same UID (owner) as the script that is being executed. In addition, you cannot set the SUID, SGID and sticky bits. It means that the UID (owner) of the folder ought to be the apache

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-10 Thread Jo�o C�ndido de Souza Neto
Chris [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] João Cândido de Souza Neto wrote: Hello everyone. I have got some parts of my system where some files are sent and i use ftp functions to save suche files. When i run it in my local machine, it works fine but, when it is

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-09 Thread Chris
João Cândido de Souza Neto wrote: Hello everyone. I have got some parts of my system where some files are sent and i use ftp functions to save suche files. When i run it in my local machine, it works fine but, when it is on the server i got some errors. I was using ftp_put to copy such

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 3:32 pm, João Cândido de Souza Neto wrote: when it is on the server i got some errors. If you tell us what errors, you change the problem from an infinitely large set of what could go wrong, to a rather small set of what probably went wrong... -- Some people have a

Re: [PHP] ftp_put and ftp_chmod does not work

2006-10-06 Thread Jo�o C�ndido de Souza Neto
In both case the functions just returns false. Richard Lynch [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] On Fri, October 6, 2006 3:32 pm, João Cândido de Souza Neto wrote: when it is on the server i got some errors. If you tell us what errors, you change the problem from

[PHP] [SOLVED] Re: [PHP] ftp_put()'ing a string ...

2006-07-13 Thread Jochem Maas
I figured out how to ftp a string into a remote file using the ftp streams wrappers. the code looks as follows (I leave out the definition of the [error logging] callback PLFTPServerNotifier() the prototype requirements of which can be found in the manual): ?php $context =

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-28 Thread Jochem Maas
Wayne Zeller wrote: Marek Kilimajer wrote: 30 seconds? This must be your firewall blocking connections from outside world. Use ftp_pasv() to turn on passive mode. That did the trick. Thanks s much! Marek shoots, Marek scores :-) Wayne -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Marek Kilimajer
Wayne Zeller wrote: My first attempt at posting this appears to have failed, so I'll try again. My apologies if this is a duplicate... I can't for the life of me figure out why this won't work. I am downloading a file from a remote host via ftp, processing it and modifying part of it, and

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
Marek Kilimajer wrote: You must use ftp_fput() because you are using open file handle. Check that tmpfile() did not fail. Then make sure you are in the right directory after logging in the ftp server. That's what I get for trying to put together code for my post during attempts to do it several

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Marek Kilimajer
Wayne Zeller wrote: Marek Kilimajer wrote: You must use ftp_fput() because you are using open file handle. Check that tmpfile() did not fail. Then make sure you are in the right directory after logging in the ftp server. That's what I get for trying to put together code for my post during

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
Marek Kilimajer wrote: 30 seconds? This must be your firewall blocking connections from outside world. Use ftp_pasv() to turn on passive mode. That did the trick. Thanks s much! Wayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp_put() problem

2004-12-15 Thread Jason Wong
On Thursday 16 December 2004 00:54, Lowell Allen wrote: But trying to avoid writing to the local server by using ftp_put() instead, this does not work: My manual says ftp_put() - Uploads a file to the FTP server And no, I can't find any command to upload a string in memory as a file. If you

Re: [PHP] FTP_PUT 0kb problem

2004-12-11 Thread Marek Kilimajer
jpb wrote: I am using the FTP_PUT command in conjunction with a form: form action=upload.php method=post enctype=multipart/form-data input type=file name=imagefile input type=submit value=Submit upload.php: Everything seems to work except the put statement. $upload = ftp_put($conn_id,

Re: [PHP] ftp_put Problems

2004-09-25 Thread Marek Kilimajer
Julian wrote: Hello, I need to use FTP to upload a local file to a server. The uploads must be done through FTP and not HTTP. Unfortunately, the example in the manual is not working for me. If someone has any suggestions I would really appreciate it. Not much information. There is not error

Re: [PHP] ftp_put Problems

2004-09-25 Thread Julian
Maybe I should be more specific about what I am trying to do. I may be way off base in my approach. I want to upload using ftp a file from my local c drive (c:\somefile.text) to my server. I have been trying the ftp_put function example in the manual and it is failing. It reports There was a

Re: [PHP] ftp_put Problems

2004-09-25 Thread Jason Wong
On Sunday 26 September 2004 06:38, Julian wrote: Maybe I should be more specific about what I am trying to do. I may be way off base in my approach. I want to upload using ftp a file from my local c drive (c:\somefile.text) to my server. I have been trying the ftp_put function example in the

Re: [PHP] ftp_put Problems

2004-09-25 Thread Julian
i am trying to get a file from my local c drive to my server using something other than a form. thanks, julian Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 26 September 2004 06:38, Julian wrote: Maybe I should be more specific about what I am trying to do. I

Re: [PHP] ftp_put Problems

2004-09-25 Thread Marek Kilimajer
Julian wrote: i am trying to get a file from my local c drive to my server using something other than a form. Hmm, you can run an ftp server on your local machine and use php script on the server to retrieve the files. http server will work just as well. Is this what you want? thanks, julian

Re: [PHP] ftp_put Problems

2004-09-25 Thread Julian
well, i suspect i am at a dead end. here is the layout of things. we want to put up an internet kiosk at certain thoroughbred auctions to allow people to send ecards as well as contact associates. we have a web cam on the kiosk and a partner came up with the idea of letting them send photos of

Re: [PHP] ftp_put Problems

2004-09-25 Thread Marek Kilimajer
Julian wrote: well, i suspect i am at a dead end. here is the layout of things. we want to put up an internet kiosk at certain thoroughbred auctions to allow people to send ecards as well as contact associates. we have a web cam on the kiosk and a partner came up with the idea of letting them

Re: [PHP] ftp_put Problems

2004-09-25 Thread raditha dissanayake
Julian wrote: i am trying to get a file from my local c drive to my server using something other than a form. This is pretty much an impossible task for server side scripting. You can perhaps use an applet to upload either via FTP or HTTP. but marek's last mail is probably the best solution.

Re: [PHP] FTP_PUT PROBLEMS

2003-07-27 Thread Jason Wong
On Sunday 27 July 2003 10:22, Rausch Alexandru wrote: I have some problem with uploading a file from my harddisk using a ftp connection. Here are the 2 files: You don't upload local files using the ftp_*() functions. You follow the examples in manual Handling file uploads. -- Jason Wong -

Re: [PHP] ftp_put: permission denied

2003-01-09 Thread Oliver Witt
]] Sent: Thursday, 9 January 2003 5:30 AM To: [EMAIL PROTECTED]; Timothy Hitchens ) Subject: Re: [PHP] ftp_put: permission denied Timothy Hitchens ) schrieb: I am assuming you have testing from a desktop client. Are you sure that the PHP script has been logged

RE: [PHP] ftp_put: permission denied

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
I am assuming you have testing from a desktop client. Are you sure that the PHP script has been logged in?? Can you see via a log file of the successful authentication?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Oliver

Re: [PHP] ftp_put: permission denied

2003-01-08 Thread Oliver Witt
Timothy Hitchens ) schrieb: I am assuming you have testing from a desktop client. Are you sure that the PHP script has been logged in?? Can you see via a log file of the successful authentication?? I logged in using the same information as I used to upload that script. if ((!$conn_id) ||

RE: [PHP] ftp_put: permission denied

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Using ftp_login() ?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Oliver Witt [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 5:30 AM To: [EMAIL PROTECTED]; Timothy Hitchens ) Subject: Re: [PHP] ftp_put: permission

Re: [PHP] ftp_put: permission denied

2003-01-08 Thread Oliver Witt
ftp_login() ?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Oliver Witt [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 5:30 AM To: [EMAIL PROTECTED]; Timothy Hitchens ) Subject: Re: [PHP] ftp_put: permission denied

Re: [PHP] ftp_put: permission denied

2003-01-08 Thread Thomas Seifert
) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Oliver Witt [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 5:30 AM To: [EMAIL PROTECTED]; Timothy Hitchens ) Subject: Re: [PHP] ftp_put: permission denied Timothy Hitchens

RE: [PHP] ftp_put

2002-09-03 Thread victor
Well I'm having the same problem... no useful suggestions from ME yet. :) - Victor www.argilent.com -Original Message- From: Jason Romero [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 5:13 PM To: [EMAIL PROTECTED] Subject: [PHP] ftp_put I am having problems getting the

Re: [PHP] ftp_put

2001-05-22 Thread Zak Greant
Ensure that the user that PHP is running as has permissions to read the file. --zak - Original Message - From: Jon A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 10:36 AM Subject: [PHP] ftp_put Hi, all. I try to do a file upload using the ftp_put function,