Article Details
Id: | 20919 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 4.00.04 |
Opened: | 09/11/2023 |
Closed: | 09/11/2023 |
Released: | 05/12/2023 |
Job: | J032391 |
ISFileUtilities functions will now error with simplified error messages in finPOWER Connect Web Services
The below ISFileUtilities functions will no longer display full file names in error messages, should the functions return False when run from finPOWER Connect Web Services (and in turn, finPOWER Connect Cloud).
- AppendTextFile
- CopyFile
- CopyFileUnique
- DeleteFile
- GetFileInfo
- IsFileNameValid
- MoveFile
- MoveFileUnique
- ReadBinaryFile
- ReadTextFile
- RenameFile
- SetFileArchiveAttribute
- SetFileReadOnly
- WriteFileFromBase64EncodedString
- WriteFileFromByteArray
- WriteTextFile
Previously, error messages would display the entire file path, as located on the server. Generally a file path starting with something like: C:\inetpub\wwwroot. Now, only the file name without any folder information will be displayed in the error message.
This enhancement increases security by not exposing the file system structure of the web server.
Note: This does not apply to finPOWER Connect Desktop. The fully resolved file name will continue to be displayed if these functions error in the Desktop application.