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)
-
0
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 };
-
0
This question has been automatically marked as stale because it has not had recent activity.