Skip to content

Commit 696d9aa

Browse files
Merge pull request #4709 from syncfusion-content/ES-998898-file1-dev
998898: Need to include sequential upload documentation for File Mana…
2 parents a508c61 + 64a5f8b commit 696d9aa

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
lines changed
75.1 KB
Loading
74.7 KB
Loading
44.3 KB
Loading

ej2-asp-core-mvc/file-manager/upload.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,23 @@ When set to `true`, this property enables directory upload in the File Manager,
2424
2525
To learn more about the folder upload actions, refer to this [link](https://ej2.syncfusion.com/aspnetcore/documentation/file-manager/file-operations#folder-upload-support)
2626

27+
## Sequential Upload
28+
29+
The `sequentialUpload` property controls whether users can upload files one by one in a sequential manner in the Syncfusion File Manager control.
30+
31+
To enable sequential upload, set the `sequentialUpload` property to `true` in the `uploadSettings` configuration.
32+
33+
When set to `true`, the selected files will process sequentially (one after the other) to the server. If the file uploaded successfully or failed, the next file will upload automatically in this sequential upload. This feature helps to reduce the upload traffic and reduce the failure of file upload.
34+
35+
The screenshot below shows that each file begins uploading only after the previous one completes. This demonstrates how the `sequentialUpload` property works in the File Manager control.
36+
37+
![File Manager with sequentialUpload](./images/filemanager-sequentialupload.png)
38+
39+
To learn more about the folder upload actions, refer to this [link](https://ej2.syncfusion.com/aspnetcore/documentation/file-manager/file-operations#folder-upload-support)
40+
2741
## Chunk Upload
2842

29-
The [chunkSize](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#chunksize) property specifies the size of each chunk when uploading large files. It divides the file into smaller parts, which are uploaded sequentially to the server.
43+
The [chunkSize](https://ej2.syncfusion.com/documentation/api/file-manager/uploadsettingsmodel#chunksize) property specifies the size of each chunk when uploading large files. It divides the file into smaller parts, which are uploaded sequentially to the server.
3044

3145
This property allows you to enable chunked uploads for large files by specifying a `chunkSize`.
3246

@@ -43,19 +57,19 @@ With chunk upload, the pause and resume options give users enhanced control over
4357
4458
## Auto Upload
4559

46-
The [autoUpload](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#autoupload) property controls whether files are automatically uploaded when they are added to the upload queue in the File Manager control.
60+
The [autoUpload](https://ej2.syncfusion.com/documentation/api/file-manager/uploadsettingsmodel#autoupload) property controls whether files are automatically uploaded when they are added to the upload queue in the File Manager control.
4761

4862
The default value is `true`, the File Manager will automatically upload files as soon as they are added to the upload queue. If set to `false`, the files will not be uploaded automatically, giving you the chance to manipulate the files before uploading them to the server.
4963

5064
## Auto Close
5165

52-
The [autoClose](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#autoclose) property controls whether the upload dialog automatically closes after all the files have been uploaded.
66+
The [autoClose](https://ej2.syncfusion.com/documentation/api/file-manager/uploadsettingsmodel#autoclose) property controls whether the upload dialog automatically closes after all the files have been uploaded.
5367

5468
The default value is set to `false`. When set to this value, the upload dialog remains open even after the upload process is complete. If `autoClose` set to `true`, the upload dialog will automatically close after all the files in the upload queue are uploaded.
5569

5670
## Prevent upload based on file extensions
5771

58-
The [allowedExtensions](https://ej2.syncfusion.com/documentation/api/file-manager/uploadSettingsModel/#allowedextensions) property specifies which file types are allowed for upload in the File Manager control by defining their extensions.
72+
The [allowedExtensions](https://ej2.syncfusion.com/documentation/api/file-manager/uploadsettingsmodel#allowedextensions) property specifies which file types are allowed for upload in the File Manager control by defining their extensions.
5973

6074
This property lets you define which file types can be uploaded by specifying allowed extensions, separated by commas. For example, to allow only image files, you would set the `allowedExtensions` property to .jpg,.png.
6175

ej2-asp-core-mvc/file-manager/user-interface.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,12 @@ Context menu can be customized using the [`contextMenuSettings`](https://help.sy
9393

9494
*Refer [Context Menu](./file-operations#context-menu) section in file operations to know more about the menu items present in context menu*.
9595

96-
![Context Menu](./images/contextmenu.png)
96+
![Context Menu](./images/contextmenu.png)
97+
98+
### Upload Files or Folders via context menu
99+
100+
File Manager control allows to perform the files or folder [upload](https://ej2.syncfusion.com/aspnetcore/documentation/file-manager/file-operations#upload) operations with the help of Context Menu items by switching between the Files or Folder from Upload menu item.
101+
102+
![Uploading a file](./images/filemanager-fileupload.png)
103+
104+
![Uploading a folder](./images/filemanager-folderupload.png)

0 commit comments

Comments
 (0)