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
@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
, 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
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
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
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.
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
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
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
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
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
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
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 =
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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.
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 -
]]
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
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
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) ||
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
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
)
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
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
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,
37 matches
Mail list logo