Codeunit 419 File Management

Base Application, System.IO

27 obsolete

Procedures 27

ClientTempFileName(FileExtension: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
CreateClientTempSubDirectory(): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
UploadFileSilent(ClientFilePath: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
UploadFileSilentToServerPath(ClientFilePath: Text; ServerFilePath: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
UploadFileToServer(ClientFilePath: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false, please use the UploadFile procedure.
DownloadToFile(ServerFileName: Text; ClientFileName: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false, please use the DownloadHandler(ServerFileName, '', '', '', ClientFileName) procedure.
AppendAllTextToClientFile(ServerFileName: Text; ClientFileName: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
MoveAndRenameClientFile(OldFilePath: Text; NewFileName: Text; NewSubDirectoryName: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
CreateClientFile(FilePathName: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
DeleteClientFile(FilePath: Text): Booleangone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
CopyClientFile(SourceFileName: Text; DestFileName: Text; OverWrite: Boolean)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
ClientFileExists(FilePath: Text): Booleangone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false, this procedure will always return false. This procedure will be removed.
ClientDirectoryExists(DirectoryPath: Text): Booleangone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false, this procedure will always return false. This procedure will be removed.
CreateClientDirectory(DirectoryPath: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
DeleteClientDirectory(DirectoryPath: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
UploadClientDirectorySilent(DirectoryPath: Text; FileExtensionFilter: Text; IncludeSubDirectories: Boolean): Textgone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
MoveFile(SourceFileName: Text; TargetFileName: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
GetClientDirectoryFilesList(var NameValueBuffer: Record "Name/Value Buffer"; DirectoryPath: Text)gone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
GetClientFileProperties(FullFileName: Text; var ModifyDate: Date; var ModifyTime: Time; var Size: BigInteger): Booleangone after 19
Pending, tag 17.3, obsolete since 17: IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.
OpenFileDialog(WindowTitle: Text[50]; DefaultFileName: Text; FilterString: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: The local file system is no longer accessible. Please use the UploadFile procedure.
SaveFileDialog(WindowTitle: Text[50]; DefaultFileName: Text; FilterString: Text): Textgone after 19
Pending, tag 17.3, obsolete since 17: The local file system is no longer accessible. The procedure will always return an empty string. This procdure will be removed.
SelectFolderDialog(WindowTitle: Text; var SelectedFolder: Text): Booleangone after 19
Pending, tag 17.3, obsolete since 17: The local file system is no longer accessible and this procedure will always return false.
IsLocalFileSystemAccessible(): Booleangone after 19
Pending, tag 17.3, obsolete since 17: The windows client type has been retired. This procedure will always return false.
BrowseForFolderDialog(WindowTitle: Text[50]; DefaultFolderName: Text; ShowNewFolderButton: Boolean): Textgone after 19
Pending, tag 17.3, obsolete since 17: The procedure uses .NET which does not function on non-Windows client types.
GetFileContent(FilePath: Text): Textgone after 19
Pending, tag 17.0, obsolete since 17: GetFileContent will be replaced with GetFileContents. This currently uses InStream.ReadText() which only returns the stream contents up to the first line break character.
SaveStreamToFileServerFolder(var TempBlob: Codeunit "Temp Blob"; Name: Text; FileExtension: Text; InnerFolder: Text): Textgone after 19
Pending, tag 17.0, obsolete since 17: Use the DownloadFromStream function to save the content of a stream locally.
MoveAndRenameServerFile(AbsolutePathToFile: Text; RelativePathFolder: Text; NewNameFile: Text)gone after 19
Pending, tag 17.0, obsolete since 17: Server files should not be edited directly on the server. Instead, use the DownloadFromStream function to get a local copy of the file on the server.