Interface EOS004 iStorage v2
Obsolete
Pending: Replaced by the IFileSystem implementation. (23.0)Interface 0 EOS004 iStorage v2
Methods
UploadFile
procedure UploadFile(path: Text; var TempBlob: Codeunit "Temp Blob"): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
TempBlob
Codeunit "Temp Blob"
Returns
Enum "EOS004 Storage Response Status"
ReadFile
procedure ReadFile(path: Text; var result: InStream): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
result
InStream
Returns
Enum "EOS004 Storage Response Status"
DeleteFile
procedure DeleteFile(path: Text): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
Returns
Enum "EOS004 Storage Response Status"
RenameFile
procedure RenameFile(oldPath: Text; newPath: Text): Enum "EOS004 Storage Response Status"
Parameters / Return Value
oldPath
Text
newPath
Text
Returns
Enum "EOS004 Storage Response Status"
CopyFile
procedure CopyFile(fromPath: Text; toPath: Text): Enum "EOS004 Storage Response Status"
Parameters / Return Value
fromPath
Text
toPath
Text
Returns
Enum "EOS004 Storage Response Status"
MoveFile
procedure MoveFile(fromPath: Text; toPath: Text): Enum "EOS004 Storage Response Status"
Parameters / Return Value
fromPath
Text
toPath
Text
Returns
Enum "EOS004 Storage Response Status"
GetFiles
procedure GetFiles(path: Text; var Result: JsonArray): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
Result
JsonArray
Returns
Enum "EOS004 Storage Response Status"
GetFileAttributes
procedure GetFileAttributes(path: Text; var Result: JsonObject): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
Result
JsonObject
Returns
Enum "EOS004 Storage Response Status"
CreateFolder
procedure CreateFolder(path: Text): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
Returns
Enum "EOS004 Storage Response Status"
DeleteFolder
procedure DeleteFolder(path: Text; force: Boolean): Enum "EOS004 Storage Response Status"
Parameters / Return Value
path
Text
force
Boolean
Returns
Enum "EOS004 Storage Response Status"
MoveFolder
procedure MoveFolder(fromPath: Text; toPath: Text): Enum "EOS004 Storage Response Status"
Parameters / Return Value
fromPath
Text
toPath
Text
Returns
Enum "EOS004 Storage Response Status"
SuppressError
procedure SuppressError(value: Boolean)
Parameters / Return Value
- value
Boolean
iStorageInit
procedure iStorageInit(Config: Record "EOS004 Service Config.")
Parameters / Return Value
- Config
Record "EOS004 Service Config."
GetErrorMessage
procedure GetErrorMessage(): Text
Parameters / Return Value
- Returns
Text
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.