BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
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
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 11, 2025, 06:29
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.