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
"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 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
*/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php