Currently, we offer a UI to allow user to import one file at a time into User Files. We want to enhance this mechanism to also allow users to programmatically import one file at a time into User Files. Below are the required changes:
Introduce 3 new variables which will only be used via programmatic access:
In addition, the filename is returned in both the success_url and failure_url cases. The filename is returned as a QueryString : file1=<file_name>
See attached AquaScripts files for testing
112 B
116 B
754 B
Also, if the file size being uploaded exceed the file size specified in Admin > System Settings > Upload, then generate a user friend error message. Currently, a tomcat stack trace is shown to the user.
Asif has fixed this issue & now the following error message is displayed w/ in the ADServer UI:
The maximum upload limit was exceeded.
Eintrag Nr.2964 |
Abgeschlossen |
Behoben |
Gelöst |
Fertigstellung |
Kein Fälligkeitsdatum |
Lösung in Build 17.0.0-3 |
Keine Zeitschätzung |
Also, if the file size being uploaded exceed the file size specified in Admin > System Settings > Upload, then generate a user friend error message. Currently, a tomcat stack trace is shown to the user.
Asif has fixed this issue & now the following error message is displayed w/ in the ADServer UI:
The maximum upload limit was exceeded.