Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uploading image file to web server
Message
De
30/09/1998 17:49:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00142442
Message ID:
00142593
Vues:
28
>>>>>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?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform