百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#1190·remotely-save

Dropbox: 大于 150 MB 的文件出现 409 错误 – 需要上传会话 (包含测试修补程序)

作者: StefanBallas创建于 2026年9月7日更新于 2026年9月18日
标签bug

// Dropbox's /files/upload is documented for files under 150 MB; // use an upload session above this size (100 MiB leaves a safe margin). const DROPBOX_UPLOAD_SESSION_THRESHOLD = 100 * 1024 * 1024; // Chunk size for upload sessions: must be a multiple of 4 MiB, at most 150 MB. const DROPBOX_UPLOAD_SESSION_CHUNK_SIZE = 32 * 1024 * 1024; const getDropboxPath = (fileOrFolderPath: string, remoteBaseDir: string) => { let key = fileOrFolderPath; if (fileOrFolderPath === "/" || fileOrFolderPath === "") { …

内容来源: remotely-save/remotely-save

查看 GitHub 原文在 GitHub 查看讨论