Give us feedback
filesystem
Service icon

FileSystem

icon_trusted
Stable version 3.1.0 (Compatible with OutSystems 11)
Other versions available for 10 and Older
Uploaded on 21 June 2022 by 
4.3
 (39 ratings)
filesystem

FileSystem

Details
Perform operations related to the file system, such as path string manipulation, creation and deletion of directories, reading and writing text/binary files, etc.
Read more

Perform operations related to the file system, such as path string manipulation, creation and deletion of directories, reading and writing text/binary files, etc.. Feature List Manipulate path strings. Get the physical application directory. Create, Delete and List directories. Create, Delete, Move and Copy files. Read/Write files from/to the file system.

Use this component with care. Since it allows direct access to the file system, you can e.g. delete essential components for your app. Also be sure that, in case you use username and password to access network shares, the impersonating user does not have overly broad rights, and the username and password are not stored as plain text in a site property or the database.

Release notes (3.1.0)
  • Removed superfluous domain/username/password input and error message output from the Path actions, all actions are now also functions;
  • Fixed non-working Path_GetFileName (always returned empty file name);
  • Added low-level FS actions, meant for partial reading of a file.
Reviews (6)
21 Jan
in version 3.1.0
this line of code
 if (LogonUser(ssUsername, ssDomain, ssPassword, 9, 0, out phToken) != 0)
need to be
 if (LogonUser(ssUsername, ssDomain, ssPassword, 3, 0, out phToken) != 0)
as LogonUserA function take types of logon from 1 to 7 only
and i think the best choice is LOGON32_LOGON_NETWORK = 3
so extension could access shared folders with username and password correctly 
13 Jan
in version 3.1.0
Nice Option
2021-05-19
in version 3.0.4
Should be easier to get running