Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uploading image file to web server
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00142442
Message ID:
00142534
Views:
24
>>>>>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.
>
>
>You could do it with a com object, controled from an ASP.
>Have the com object return record set of files.
>ASP renders with means of selecting from list. Check box or moverlist.
>Submit button would pass selections back to com that would then transfer with ftp.
>
>Jeff

Are the files on the cleint box or on the server box? If they are on the server I guess you would not need to ftp, just do a download Huh?
If th client has the file and wants the server to supply the list that a bit more that I was thinking, but maybe if ????
I have not done any client side scripting so I'm not sure if this is possible, but I think you can. Just write the com so it dies gracefully. When the com object is called (on the client) one method could send the list to the server (FTP),the server would take the list, display and allow selections, pass selections back to the browser as another page with more client side scripting to call next method of client side com that (ftps) selection back up. If everyone has fast connections and client side scripting can createobject, it should work????

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform