CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

IWCGJQWebCam - Get File and Send to Database

by Lynkin » 05 Feb 2015 11:23

Hi,

I'm trying to use the WebCam component, i provided an Upload Path to the component when the form is created and it works flawlessly. The fact is, how can i grab the file it created on the "Upload Path" and send it to the database? I would need to get the name of the file that was created in order to use the "LoadFromFile" since the component generates a random name even if i specify a file name of my own.. for example: I create a random name like: "TEST" and the component adds it's own name like "123456789" + "TEST" (my own file name) at the end... so i can't grab the file since it wont find the file in the path because of the wrong file name...

I need to override the automatic name creation on the component so i can add my own file name and grab it after the saving process....

Thanks
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Jorge Sousa » 10 Feb 2015 18:13

Hi

If you call WebCam.Save you can specify a FileName.

With best regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Lynkin » 10 Feb 2015 18:15

I tried this.. even when calling the Save(NameFile).. it creates a random name before the name i specified... =(
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Jorge Sousa » 10 Feb 2015 18:20

Hi

Can you please submit a test case? Because we are unable to reproduce this. t.i.a.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to General

cron

Who is online

Users browsing this forum: No registered users and 18 guests

Contact Us.