Re: ftp_put Problems

From: Date: Sat, 25 Sep 2004 22:56:56 +0000
Subject: Re: ftp_put Problems
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-197842@lists.php.net to get a copy of this message
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" <php-general@gremlins.biz> wrote in message news:200409260650.12657.php-general@gremlins.biz... > 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 > */

« previous php.general (#197842) next »