PDA

View Full Version : DemoFileUpload



chuckatkinson
16-Jan-2014, 12:35 PM
Very clean - in fact if you select NO to delete the file it still deletes it :D

I REALLY need this functionality in my 17.1 web app NOW (not the delete part ;))

Håkan Carlsson
16-Jan-2014, 02:48 PM
Me to, is it possible?

Harm Wibier
16-Jan-2014, 02:55 PM
Damn... Didn't I check in the fix for that... Will do for the next build..

ivansc
16-Jan-2014, 04:19 PM
I think this is :
// DemoFileUpload.wo Procedure CleanUp Integer eMode String sPath If (eMode=cmYes) Begin // ====> this question is missing // Determine local path based on workspace setting Get psDataPath of (phoWorkspace(ghoApplication)) to sPath Move (sPath + "\Uploads\*.*") to sPath EraseFile sPath End End_Procedure WebPublishProcedure CleanUp