Saves an uploaded file as a file in the permanent or temporary file system.
Class: YetaWF.Core.Upload.FileUpload
Namespace: YetaWF.Core.Upload
Assembly: YetaWF.Core
public Task<string> StoreFileAsync( IFormFile uploadFile, string? folder, string useType, bool TempFile = false );
uploadFile
File being uploaded.
folder
The folder (absolute path) where the file is saved. Must be null for temporary files.
useType
(not specified)
TempFile
(not specified)
Returns a file name (without path) of the uploaded file in the specified folder.
See Also YetaWF.Core.Upload.FileUpload ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com