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.
問題/不具合 No.2964 |
クローズ済み |
修正済み |
解決済み |
完了 |
期限なし |
修正ビルド 17.0.0-3 |
推定時間なし |
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.