Open Closed

About File Management #1459


User avatar
0
gvnuysal created

Hi support,

We updated our project from version 3.3.1 to version 4.3.2. We used a class belonging to the File Management module in the project. We could not find this class in the new version.

 CreateFileInput blobInput = new CreateFileInput
            {
                Content = input.Content,
                DirectoryId = null,
                Name = input.Name,
                MimeType = input.MimeType
            };
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @gvnuysal, CreateInputFile class has been replaced with CreateFileInputWithStream class.

    public class CreateFileInputWithStream
    {
        [Required]
        [DynamicStringLength(typeof(FileDescriptorConsts), nameof(FileDescriptorConsts.MaxNameLength))]
        public string Name { get; set; }
    
        public IRemoteStreamContent File { get; set; }
    }
    

    So your code can be changed like below,

    CreateFileInputWithStream blobInput = new CreateFileInputWithStream
    {
        File = input.Content,
        Name = input.Name
    };
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.