WB12 - Upload Control

Startbeitrag von Jeff Graham am 12.08.2009 22:46

Hi WebDev users,

I am using an Upload Control to select and upload a photo file to the server. I have used the UploadFileName with fCopyFile and the UploadCopyFile. Both work fine.

However, I would like to display in the browser, the actual file selected by the user to upload. That file shows in the control edit field but it goes away as soon as I do the upload (either method) and I can't figure out why or how to prevent it from clearing.

I have tried to put the file name in another edit control but the upload control only returns the file name and extension, not the full path. If you use UploadFileName you get a temporary .upl file path and name.

Any suggestions?

BTW I am still trying to figure out how to get a Web Camera control to work with a CAM device on the browser computer. I can't get the control to show any file! If anyone has used a Web Camera control in WebDev, I would like to hear from them.



Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.