GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Six — File Functions (continued)
At the lowest level, Legato negotiates with the operating system to request file access permissions. Generally, under Windows, files are accessed as read or write with or without sharing. When sharing files, the allowed permissions must be set for other programs or users that may access the targeted file.
In addition to the above, each user group, folder and file may have securities settings and access rights that will impact the ability to script to access the data.
The following bits are used on various open and create operations:
Define | Bitwise Value |
Description | |||||
Access Modes | |||||||
FO_READ | 0x00000000 | Read-Only (default) | |||||
FO_WRITE | 0x00000001 | Read and Write Access | |||||
FO_SHARE_READ | 0x00000010 | Allow Others to Open as Read | |||||
FO_SHARE_WRITE | 0x00000020 | Allow Others to Open as Write | |||||
FO_TEMP_FILE | 0x00010001 | Create/Delete Temporary File | |||||
FO_DELAY_CREATE | 0x00020001 | Create Only, Delay on Share | |||||
FO_CREATE_HIDDEN | 0x00080000 | Make Hidden on Create | |||||
FO_WAIT_OPEN | 0x00200000 | Delay on Share (OpenFile only) | |||||
FO_FORCE_SPOOL | 0x00800000 | Forces Spool Out (requires create or FO_WRITE) | |||||
Applies to Some Operations | |||||||
FO_DO_NOT_CORRECT_NAME | 0x10000000 | Will Not Correct 8.3/Path Issues | |||||
FO_NO_HTTP_CACHE | 0x40000000 | No Cache Request on HTTP Load | |||||
FO_NO_ERROR_REPORT | 0x80000000 | Return Errors, No Message Box | |||||
Additional Modes | |||||||
FO_DELAY_FLAG | 0x00020000 | Delay on Share Error, Waits and Retries |
Bits can be OR’d together for various effects. Some functions, such as CreateFile, will, by default, set FO_WRITE.
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.