Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] In the UploadFile API, the same person can only upload one file with the same file name. #691

Closed
soluty opened this issue Sep 6, 2024 · 1 comment
Assignees
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@soluty
Copy link

soluty commented Sep 6, 2024

OpenIM SDK Version

3.8.0

OpenIM Server Version

3.8.0

SDK Platform

Flutter SDK

Device Model

all

Operating System Version

all

Bug Description and Steps to Reproduce

手动调用sdk的 uploadFile 方法, 对于不同目录的相同文件名但是内容不一样的, 只能传上去一份文件.

Future uploadFile({
    required String id,
    required String filePath,
    required String fileName,
    String? contentType,
    String? cause,
    String? operationID,
  });

Screenshots Link

No response

@soluty soluty added the bug Categorizes issue or PR as related to a bug. label Sep 6, 2024
@OpenIM-Robot OpenIM-Robot changed the title [BUG] UploadFile的api同一个人对相同的文件名只能传一份文件. [BUG] In the UploadFile API, the same person can only upload one file with the same file name. Sep 6, 2024
@FGadvancer FGadvancer assigned mo3et and withchao and unassigned mo3et Sep 9, 2024
@withchao
Copy link
Contributor

The path and name are independent, and each user determines a unique file based on the name. If the names are the same, the latter will overwrite the former.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants