CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Upload directory is empty OnComplete Event

by stephane » 02 Jul 2019 13:21

Hi,
I use iwcgjquery suite 4.1.0.196 with Intraweb XV
if i set an upload directory (with the property 'UploadPath') outside the SA executable directory then when the OnComplete event is fired there is no file uploaded inside ! (But It works when i set upload directory as a subdirectory of the SA executable directory). Why ?
Best regards
stephane
 
Posts: 13
Joined: 05 Dec 2018 11:59

by Alexander Bulei » 02 Jul 2019 14:11

Hi stephane,

Because the full path is:

Code: Select all
GServerController.ContentPath + UploadPath


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by stephane » 02 Jul 2019 14:43

I don't understand your answer because GServerController.ContentPath + UploadPath means for me that upload directory must be inside wwwroot ...

the default IWServerController.ContentPath is "wwwroot" directory which is inside the WebApplication.ApplicationPath (with my SA executable)
and myIWCGJQFileUpload.JQFileUploadOptions.UploadPath := WebApplication.ApplicationPath + 'upload\';

so the "upload" directory is not inside the "wwwroot" but beside it and the chosen file is correctly uploaded !

Best regards
stephane
 
Posts: 13
Joined: 05 Dec 2018 11:59

by Alexander Bulei » 02 Jul 2019 15:06

Hi,

I don't understand your answer


Which part? The upload path must be inside the application and relative...
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by stephane » 05 Jul 2019 10:38

Thanks Alexander !
Is there no solution for my other question "how to get new cellvalue entered on clicking button" in this forum ?
Have a nice day
stephane
 
Posts: 13
Joined: 05 Dec 2018 11:59


Return to JQFileUpload

Who is online

Users browsing this forum: No registered users and 0 guests

Contact Us.