# File.UploadIntoStream(Text, Text, Text, var Text, var InStream) Method
> Version: _Available or changed with runtime version 1.0._
Sends a file from the client computer to the corresponding server. The client computer is the computer that is running the Windows client or the computer that is running a browser that accesses the web client.
## Syntax
```al
[Ok := ]  File.UploadIntoStream(DialogTitle: Text, FromFolder: Text, FromFilter: Text, var FromFile: Text, var InStream: InStream)
```
> NOTE
> This method can be invoked without specifying the data type name.
## Parameters
DialogTitle
Type: ../text/text-data-type
The text displayed in the title bar of the Open dialog box. This parameter is not supported by the web client. The title is determined by the end-user's browser.
FromFolder
Type: ../text/text-data-type
The path of the folder that is displayed in the File Open dialog box. This is the default folder, but the user can browse to any available location. This parameter is not supported by the web client. By default, the browser uses the folder that was last accessed.
FromFilter
Type: ../text/text-data-type
The type of file that can be uploaded to the server. A user can try to upload any file type but an error occurs if the file is not the specified type.
FromFile
Type: ../text/text-data-type
The default file to upload to the service. The name displays in the dialog box for uploading the file. The user can change the file. This parameter is not supported by the web client.
InStream
Type: ../instream/instream-data-type
## Return Value
*[Optional] Ok*
Type: ../boolean/boolean-data-type
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
> IMPORTANT
> This method is deprecated from runtime 7.0. Use file-uploadintostream-string-instream-method instead.
## Related information
file-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/file/file-uploadintostream-string-string-string-text-instream-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/file/file-uploadintostream-string-string-string-text-instream-method/
