Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uploading image file to web server
Message
 
To
30/09/1998 17:49:59
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00142442
Message ID:
00142601
Views:
36
>>>>>>Anyone have any ideas on how to upload image files to a web server? My client wants a page with a button that essentially mimics a getfile() dialog box for selecting the image, then submit it to the web server.
>>>>>
>>>>>You can do the getfile, then use the wwIPStuff library in the file section here to do the FPT... of course you will need to know the server address, user name and password.
>>>>>
>>>>>BOb
>>>>>
>>>>>PS: Or are you asking how to do this from a web page?
>>>>
>>>>Yes, I want a web page with a button that mimics getfile().
>>>
>>>I don't think you'll find a way to do this. Giving a browser permission to send files from the disk to a site, just because the page says it should, is a huge security risk.
>>
>>How so, My ATT web does just this. I can send files to the server via a button which lets me surf for the file and then sends it to one of the selected directories. They simply check the information I enter and if the username and password match, they place a cookie on my hard drive, then let me copy to only those subdirectories. I think the code from Bob Archer will do what I need. I'm probably going to have to get some help on what to do on the CGI stuff though.
>
>I think I am missing something here. Is this button on a webpage you are looking at in your browser?
>
>How does the file copy happen? FTP?

Yes, the button is on the web page. Clip the code and paste it into a text file and save it with an extension of htm. Double click on the file in the windows explorer and you'll see it works. Now, I've got to find a "guru" who can/will point me in the right direction. *&&)&(*^, I hate being ignorant!< G >
Anyway, maybe this is why we help those who don't know what we know in other areas!
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform