Re: ftp_put Problems
| From: | Julian | Date: | Sat, 25 Sep 2004 23:13:14 +0000 |
| Subject: | Re: ftp_put Problems | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197845@lists.php.net to get a copy of this message | ||
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 themselves as well. the problem is i cannot find a way to use the form
type FILE without giving the user access to everything on the kiosk
computer. try as i might i cannot get around that "browse" button. so i
thought i would try the ftp functions which i am totally unfamiliar with. i
do truly appreciate the time you and others took to look into this.
julian
"Marek Kilimajer" <lists@kilimajer.net> wrote in message
news:4155F8BD.6050202@kilimajer.net...
> 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
>> "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
>>>*/
>>