{"title":"Codeunit 419 File Management, obsolete","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/obsolete/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":419,"name":"File Management","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/","json":"https://jonas-paprotka.de/ref/codeunit/419-file-management.json"},"aspect":"obsolete","total":27,"rows":[{"kind":"procedure","name":"ClientTempFileName(FileExtension: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"CreateClientTempSubDirectory()","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"UploadFileSilent(ClientFilePath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"UploadFileSilentToServerPath(ClientFilePath: Text; ServerFilePath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"UploadFileToServer(ClientFilePath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false, please use the UploadFile procedure.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"DownloadToFile(ServerFileName: Text; ClientFileName: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false, please use the DownloadHandler(ServerFileName, '', '', '', ClientFileName) procedure.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"AppendAllTextToClientFile(ServerFileName: Text; ClientFileName: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"MoveAndRenameClientFile(OldFilePath: Text; NewFileName: Text; NewSubDirectoryName: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"CreateClientFile(FilePathName: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"DeleteClientFile(FilePath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"CopyClientFile(SourceFileName: Text; DestFileName: Text; OverWrite: Boolean)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"ClientFileExists(FilePath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false, this procedure will always return false. This procedure will be removed.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"ClientDirectoryExists(DirectoryPath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false, this procedure will always return false. This procedure will be removed.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"CreateClientDirectory(DirectoryPath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"DeleteClientDirectory(DirectoryPath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"UploadClientDirectorySilent(DirectoryPath: Text; FileExtensionFilter: Text; IncludeSubDirectories: Boolean)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"MoveFile(SourceFileName: Text; TargetFileName: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"GetClientDirectoryFilesList(var NameValueBuffer: Record \"Name/Value Buffer\"; DirectoryPath: Text)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"GetClientFileProperties(FullFileName: Text; var ModifyDate: Date; var ModifyTime: Time; var Size: BigInteger)","obsolete":{"state":"Pending","reason":"IsLocalFileSystemAccessible always returns false and this procedure will always throw an error.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"OpenFileDialog(WindowTitle: Text[50]; DefaultFileName: Text; FilterString: Text)","obsolete":{"state":"Pending","reason":"The local file system is no longer accessible. Please use the UploadFile procedure.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"SaveFileDialog(WindowTitle: Text[50]; DefaultFileName: Text; FilterString: Text)","obsolete":{"state":"Pending","reason":"The local file system is no longer accessible. The procedure will always return an empty string. This procdure will be removed.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"SelectFolderDialog(WindowTitle: Text; var SelectedFolder: Text)","obsolete":{"state":"Pending","reason":"The local file system is no longer accessible and this procedure will always return false.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"IsLocalFileSystemAccessible()","obsolete":{"state":"Pending","reason":"The windows client type has been retired. This procedure will always return false.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"BrowseForFolderDialog(WindowTitle: Text[50]; DefaultFolderName: Text; ShowNewFolderButton: Boolean)","obsolete":{"state":"Pending","reason":"The procedure uses .NET which does not function on non-Windows client types.","tag":"17.3"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"GetFileContent(FilePath: Text)","obsolete":{"state":"Pending","reason":"GetFileContent will be replaced with GetFileContents. This currently uses InStream.ReadText() which only returns the stream contents up to the first line break character.","tag":"17.0"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"SaveStreamToFileServerFolder(var TempBlob: Codeunit \"Temp Blob\"; Name: Text; FileExtension: Text; InnerFolder: Text)","obsolete":{"state":"Pending","reason":"Use the DownloadFromStream function to save the content of a stream locally.","tag":"17.0"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"MoveAndRenameServerFile(AbsolutePathToFile: Text; RelativePathFolder: Text; NewNameFile: Text)","obsolete":{"state":"Pending","reason":"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.","tag":"17.0"},"obsoleteSince":17,"last":19}]}