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
            };

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
    };
    
  • 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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13