我这样上传图片:
CloudinaryResponse response = await this.url.uploadImage(filePath,
filename: "background",
folder: "alquileres/$userId/$portfolioId/$investmentId");
图像名称为“ background_longID”。我想覆盖所有图像。
我在Github中发现了一个旧问题,但没有提供太多信息(https://github.com/cloudinary/cloudinary_ios/issues/87)
[如果主要问题是您不希望Cloudinary将_longId
参数添加到文件名,则可以在上传期间设置标志unique_filename=false
。