Codeunit 419 File Management in 26
- App
- Base Application
- Namespace
- System.IO
Versions171819202122232425262728latest
Source29
Procedures, 48
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| BLOBImport | (var Codeunit Temp Blob, Text) | Text | public | - |
| BLOBImportWithFilter | (var Codeunit Temp Blob, Text, Text, Text, Text) | Text | public | - |
| BLOBExportWithEncoding | (var Codeunit Temp Blob, Text, Boolean, TextEncoding) | Text | public | - |
| BLOBExport | (var Codeunit Temp Blob, Text, Boolean) | Text | public | - |
| ServerTempFileName | (Text) | Text | public | - |
| DownloadTempFile | (Text) | Text | public | - |
| UploadFile | (Text[50], Text) | Text | public | - |
| UploadFileWithFilter | (Text[50], Text, Text, Text) | Text | public | - |
| Magicpath | () | Text | public | - |
| DownloadHandler | (Text, Text, Text, Text, Text) | Boolean | public | - |
| DownloadFromStreamHandler | (InStream, Text, Text, Text, Text) | Boolean | public | - |
| CopyServerFile | (Text, Text, Boolean) | public | - | |
| ServerFileExists | (Text) | Boolean | public | - |
| DeleteServerFile | (Text) | Boolean | public | - |
| ServerDirectoryExists | (Text) | Boolean | public | - |
| ServerCreateDirectory | (Text) | public | - | |
| ServerCreateTempSubDirectory | () | Text | public | - |
| ServerRemoveDirectory | (Text, Boolean) | public | - | |
| GetFileName | (Text) | Text | public | - |
| GetSafeFileName | (Text) | Text | public | - |
| GetFileNameWithoutExtension | (Text) | Text | public | - |
| HasExtension | (Text) | Boolean | public | - |
| GetFileNameMimeType | (Text) | Text | public | - |
| GetDirectoryName | (Text) | Text | public | - |
| GetServerDirectoryFilesList | (var Record Name/Value Buffer, Text) | public | - | |
| GetServerDirectoryFilesListInclSubDirs | (var Record Name/Value Buffer, Text) | public | - | |
| GetServerFileProperties | (Text, var Date, var Time, var BigInteger) | Boolean | public | - |
| CombinePath | (Text, Text) | Text | public | - |
| BLOBImportFromServerFile | (var Codeunit Temp Blob, Text) | public | - | |
| BLOBExportToServerFile | (var Codeunit Temp Blob, Text) | public | - | |
| InstreamExportToServerFile | (InStream, Text) | Text | public | - |
| CreateAndWriteToServerFile | (Text, Text) | Text | public | - |
| GetToFilterText | (Text, Text) | Text | public | - |
| GetExtension | (Text) | Text | public | - |
| IsValidFileName | (Text) | Boolean | public | - |
| ValidateFileExtension | (Text, Text) | public | - | |
| CreateFileNameWithExtension | (Text, Text) | Text | public | - |
| Ansi2SystemEncoding | (OutStream, InStream) | public | - | |
| Ansi2SystemEncodingTxt | (OutStream, Text) | public | - | |
| StripNotsupportChrInFileName | (Text) | Text | public | - |
| ExportImage | (Text, Text) | public | - | |
| IsClientDirectoryEmpty | (Text) | Boolean | public | - |
| IsServerDirectoryEmpty | (Text) | Boolean | public | - |
| GetFileContents | (Text) | Text | public | - |
| GetFileContents | (Text, TextEncoding) | Text | public | - |
| IsAllowedPath | (Text, Boolean) | Boolean | public | - |
| AppendFileNameWithIndex | (Text, Integer) | Text | public | - |
| GetPathWithSafeFileName | (Text) | Text | public | - |
Events, 7
| Kind | Name | Parameters | Obsolete |
|---|---|---|---|
| Integration event | OnAfterGetToFilterTextSetOutExt | (Text, var Text) | - |
| Integration event | OnBeforeUploadFileWithFilter | (var Text, Text[50], Text, Text, Text, var Boolean) | - |
| Integration event | OnBeforeDownloadFromStreamHandler | (var Text, Text, InStream, var Boolean) | - |
| Integration event | OnAfterDownloadHandler | (var Text, Text, Text, var Boolean) | - |
| Integration event | OnBeforeBlobExportWithEncoding | (var Codeunit Temp Blob, Text, Boolean, TextEncoding, var Text, var Boolean) | - |
| Integration event | OnBeforeDownloadHandler | (var Text, Text, Text, var Boolean, var Boolean) | - |
| Integration event | OnBeforeBlobExport | (var Codeunit Temp Blob, Text, Boolean, var Boolean, var Text) | - |