KVSMEDIFileService#
Procedures#
Init(Record KVSMEDHttpServiceParameter) :#
procedure Init(var parameter: Record "KVSMEDHttpServiceParameter" temporary):
Ping() : Boolean#
procedure Ping(): Boolean
ReadFile(Text, OutStream) :#
procedure ReadFile(filePath: Text; var outStream: OutStream):
ReadFile(Text, OutStream, Text) :#
procedure ReadFile(filePath: Text; var outStream: OutStream; encodingName: Text):
DeleteFile(Text) :#
procedure DeleteFile(filePath: Text):
DeleteFiles(Text, Text, Enum KVSMEDFileSearchOption) :#
procedure DeleteFiles(dirPath: Text; searchPattern: Text; searchOption: Enum "KVSMEDFileSearchOption"):
ExistsFile(Text) : Boolean#
procedure ExistsFile(filePath: Text): Boolean
WriteFile(Text, InStream) :#
procedure WriteFile(filePath: Text; var inStream: InStream):
WriteFile(Text, InStream, Text) :#
procedure WriteFile(filePath: Text; var inStream: InStream; encodingName: Text):
WriteFile(Text, InStream, Text, Text) :#
procedure WriteFile(filePath: Text; var inStream: InStream; encodingName: Text; sourceEncodingName: Text):
MoveFile(Text, Text, Boolean) :#
procedure MoveFile(sourceFilePath: Text; targetFilePath: Text; override: Boolean):
CopyFile(Text, Text, Boolean) :#
procedure CopyFile(sourceFilePath: Text; targetFilePath: Text; override: Boolean):
GetDirectories(Text, Text, Enum KVSMEDFileSearchOption) : List#
procedure GetDirectories(dirPath: Text; searchPattern: Text; searchOption: Enum "KVSMEDFileSearchOption"): List
GetFiles(Text, Text, Enum KVSMEDFileSearchOption) : List#
procedure GetFiles(dirPath: Text; searchPattern: Text; searchOption: Enum "KVSMEDFileSearchOption"): List
ExistDirectory(Text) : Boolean#
procedure ExistDirectory(dirPath: Text): Boolean
CreateDirectory(Text) :#
procedure CreateDirectory(dirPath: Text):
DeleteDirectory(Text, Boolean) :#
procedure DeleteDirectory(dirPath: Text; recursive: Boolean):
GetLastResponseInfo(Record KVSMEDHttpResponseBuffer) :#
procedure GetLastResponseInfo(var responseBuffer: Record "KVSMEDHttpResponseBuffer" temporary):
MoveDirectory(Text, Text) :#
procedure MoveDirectory(sourceDirPath: Text; targetDirath: Text):
GetDirectoryInfo(Text) : Record#
procedure GetDirectoryInfo(dirPath: Text): Record KVSMEDFileSystemInfo
GetFileInfo(Text) : Record#
procedure GetFileInfo(filePath: Text): Record KVSMEDFileSystemInfo