Qorus Integration Engine® Enterprise Edition 7.0.0_prod
|
system fs service More...
Inherits QorusSystemService.
Public Member Methods | |
nothing | rename (string source, string target, softbool man=False) |
rename service method | |
nothing | rename_conn (string conn_src, string source, string conn_tgt, string target, softbool man=False) |
rename_conn service method | |
nothing | copy (string source, string target) |
copy service method | |
nothing | copy_conn (string conn_src, string source, string conn_tgt, string target) |
copy_conn service method | |
nothing | del (string path) |
del service method | |
nothing | del_conn (string conn, string path) |
del_conn service method | |
list | ls (string path, *string regex, *softint reopts, *string encoding) |
ls service method | |
list | ls_conn (string conn, *string path, *string regex, *softint reopts, *string encoding) |
ls_conn service method | |
binary | get_file_bin (string path) |
get_file_bin service method | |
binary | get_file_bin_conn (string conn, string path) |
get_file_bin_conn service method | |
string | get_file_string (string path, *string encoding) |
get_file_string service method | |
string | get_file_string_conn (string conn, string path, *string encoding) |
get_file_string_conn service method | |
nothing | write_file (string path, data data, int mode=0664, *string encoding) |
write_file service method | |
nothing | write_file_conn (string conn, string path, data data, int mode=0664, *string encoding) |
write_file_conn service method | |
hash | hstat_file (string path) |
hstat_file service method | |
hash | hstat_file_conn (string conn, string path) |
hstat_file_conn service method | |
system fs service
|
inline |
copy service method
source | the source path |
target | the target path |
If any errors occur, an exception is thrown
COPY-ERROR | cannot stat() source file |
|
inline |
copy_conn service method
conn_src | the source user connection name |
source | the source path, relative to conn_src |
conn_tgt | the target user connection name |
target | the target path, relative to conn_tgt |
If any errors occur, an exception is thrown
CONNECTION-ERROR | the given connection is not known |
COPY-ERROR | cannot stat() source file |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
|
inline |
del service method
path | the path of the file to delete |
If any errors occur, an exception is thrown
UNLINK-ERROR | error removing the file |
|
inline |
del_conn service method
conn | an user connection name |
path | the path of the file to delete, relative to conn |
If any errors occur, an exception is thrown
CONNECTION-ERROR | the given connection is not known |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
UNLINK-ERROR | error removing the file |
|
inline |
get_file_bin service method
path | the path of the file to retrieve |
|
inline |
get_file_bin_conn service method
conn | an user connection name |
path | the path of the file to retrieve, relative to conn |
CONNECTION-ERROR | the given connection is not known |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
|
inline |
get_file_string service method
path | the path of the file to retrieve |
encoding | the encoding of the source file |
|
inline |
get_file_string_conn service method
conn | anuser connection |
path | the path of the file to retrieve |
encoding | the encoding of the source file |
CONNECTION-ERROR | the given connection is not known |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
|
inline |
|
inline |
hstat_file_conn service method
conn | a user connection; must be a filesystem connection |
path | the path of the file to stat |
CONNECTION-ERROR | the given connection is not known |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
|
inline |
ls service method
path | the path to list |
regex | an optional regex to filter the results |
reopts | option regular expression options; see Regular Expression Constants for possible values |
encoding | the encoding of the filesystem string data |
"name"
key with the file or directory name and optionally a "link"
key for symbolic link targetsDIR-ERROR | directory does not exist |
|
inline |
ls_conn service method
conn | an user connection name |
path | the path to list, relative to conn. It can be empty, then the toplevel connection directory is listed. |
regex | an optional regex to filter the results |
reopts | option regular expression options; see Regular Expression Constants for possible values |
encoding | the encoding of the filesystem string data |
"name"
key with the file or directory name and optionally a "link"
key for symbolic link targetsCONNECTION-ERROR | the given connection is not known |
DIR-ERROR | directory does not exist |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
|
inline |
rename service method
source | the source path |
target | the target path |
man | rename the file manually by copying the file's data and then deleting the source file, this is sometimes necessary on some OSes when renaming files across filesystem boundaries |
If any errors occur, an exception is thrown
RENAME-ERROR | cannot stat() source file |
|
inline |
rename_conn service method
conn_src | the source user connection name |
source | the source path, relative to conn_src |
conn_tgt | the target user connection name |
target | the target path, relative to conn_tgt |
man | rename the file manually by copying the file's data and then deleting the source file, this is sometimes necessary on some OSes when renaming files across filesystem boundaries |
If any errors occur, an exception is thrown
CONNECTION-ERROR | the given connection is not known |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |
RENAME-ERROR | cannot stat() source file |
|
inline |
write_file service method
path | the path of the file to write |
data | the file data to write |
mode | the file's creation mode |
encoding | the encoding of the target file |
|
inline |
write_file_conn service method
conn | a user connection |
path | the path of the file to write, relative to conn |
data | the file data to write |
mode | the file's creation mode |
encoding | the encoding of the target file |
CONNECTION-ERROR | the given connection is not known |
FS-USER-CONNECTION-ERROR | the given connection is not a filesystem connection |