Skip to content

KVSMTCIFileService#

Obsolete

This Element will be removed or changed with a future Version of the App.

Procedures#

Init(Record KVSMTCHttpServiceParameter) :#

procedure Init(var parameter: Record "KVSMTCHttpServiceParameter" 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 KVSMTCFileSearchOption) :#

procedure DeleteFiles(dirPath: Text; searchPattern: Text; searchOption: Enum "KVSMTCFileSearchOption"): 

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 KVSMTCFileSearchOption) : List#

procedure GetDirectories(dirPath: Text; searchPattern: Text; searchOption: Enum "KVSMTCFileSearchOption"): List

GetFiles(Text, Text, Enum KVSMTCFileSearchOption) : List#

procedure GetFiles(dirPath: Text; searchPattern: Text; searchOption: Enum "KVSMTCFileSearchOption"): 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 KVSMTCHttpResponseBuffer) :#

procedure GetLastResponseInfo(var responseBuffer: Record "KVSMTCHttpResponseBuffer" temporary): 

MoveDirectory(Text, Text) :#

procedure MoveDirectory(sourceDirPath: Text; targetDirath: Text): 

GetDirectoryInfo(Text) : Record#

procedure GetDirectoryInfo(dirPath: Text): Record KVSMTCFileSystemInfo

GetFileInfo(Text) : Record#

procedure GetFileInfo(filePath: Text): Record KVSMTCFileSystemInfo