Re: ftp_put Problems
| From: | Jason Wong | Date: | Sat, 25 Sep 2004 22:50:12 +0000 |
| Subject: | Re: ftp_put Problems | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197840@lists.php.net to get a copy of this message | ||
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 manual
> and it is failing. It reports "There was a problem uploading the file."
If the script is running on the server then yes you're way off base. Remember
the ftp_*() functions operate relative to where the script is running.
What exactly is it you're trying to do?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Laughter is the closest distance between two people.
-- Victor Borge
*/