We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ios上传成功,服务器SyncClipboard.json: {"File":"Clipboard 2025:01:23 15.55.pdf","Clipboard":"1f57f017bca2070d1592d3a88360d566","Type":"File"} 服务器file文件夹内显示文件
{"File":"Clipboard 2025:01:23 15.55.pdf","Clipboard":"1f57f017bca2070d1592d3a88360d566","Type":"File"}
Windows下载失败,但如果直接通过api下载则成功。
log内容: [2025/01/23 16:03:13][ClipboardFactoryBase.cs][ 74][ClipboardFactoryBase] ClipboardProfileDTO { File = Clipboard 2025:01:23 16.02.pdf, Clipboard = 1f57f017bca2070d1592d3a88360d566, Type = File } [2025/01/23 16:03:13][DownloadService.cs ][ 350][PULL] remote is {"File":"Clipboard 2025:01:23 16.02.pdf","Clipboard":"1f57f017bca2070d1592d3a88360d566","Type":"File"} [2025/01/23 16:03:13][ClipboardFactory.cs ][ 185][ClipboardFactory] Text: [2025/01/23 16:03:13][FileProfile.cs ][ 169] calc md5 start [2025/01/23 16:03:13][FileProfile.cs ][ 184] md5 a9cea8e806b313cdadc095c0d78a17f1 [2025/01/23 16:03:13][DownloadService.cs ][ 402] start download: 1f57f017bca2070d1592d3a88360d566 [2025/01/23 16:03:13][ProgressToastReporter.cs][ 18] ProgressToastReporter created [2025/01/23 16:03:13][UploadService.cs ][ 168] _isChangingLocal set to FALSE [2025/01/23 16:03:13][ProgressToastReporter.cs][ 27] ProgressToastReporter status set to cancel [2025/01/23 16:03:13][DownloadService.cs ][ 299] System.IO.IOException: 文件名、目录名或卷标语法不正确。 : 'C:\Users\Hoshino-Yukino\AppData\Roaming\SyncClipboard\file\20250123\Clipboard 2025:01:23 16.02.pdf' at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at SyncClipboard.Core.Utilities.Web.HttpClientExtention.GetFile(HttpClient httpClient, String url, String localFilePath, IProgress1 progress, Nullable1 cancellationToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\Utilities\Web\HttpClientExtention.cs:line 44 at SyncClipboard.Core.Clipboard.FileProfile.BeforeSetLocal(CancellationToken cancelToken, IProgress1 progress) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\Clipboard\Profile\FileProfile.cs:line 113 at SyncClipboard.Core.UserServices.DownloadService.DownloadAndSetRemoteProfileToLocal(Profile remoteProfile, CancellationToken cancelToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 424 at SyncClipboard.Core.UserServices.DownloadService.SetRemoteProfileToLocal(Profile remoteProfile, CancellationToken cancelToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 388 at SyncClipboard.Core.UserServices.DownloadService.DownloadProcess(CancellationToken token) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 360 at SyncClipboard.Core.UserServices.DownloadService.PullLoop(CancellationToken cancelToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 315`
[2025/01/23 16:03:13][ClipboardFactoryBase.cs][ 74][ClipboardFactoryBase] ClipboardProfileDTO { File = Clipboard 2025:01:23 16.02.pdf, Clipboard = 1f57f017bca2070d1592d3a88360d566, Type = File } [2025/01/23 16:03:13][DownloadService.cs ][ 350][PULL] remote is {"File":"Clipboard 2025:01:23 16.02.pdf","Clipboard":"1f57f017bca2070d1592d3a88360d566","Type":"File"} [2025/01/23 16:03:13][ClipboardFactory.cs ][ 185][ClipboardFactory] Text: [2025/01/23 16:03:13][FileProfile.cs ][ 169] calc md5 start [2025/01/23 16:03:13][FileProfile.cs ][ 184] md5 a9cea8e806b313cdadc095c0d78a17f1 [2025/01/23 16:03:13][DownloadService.cs ][ 402] start download: 1f57f017bca2070d1592d3a88360d566 [2025/01/23 16:03:13][ProgressToastReporter.cs][ 18] ProgressToastReporter created [2025/01/23 16:03:13][UploadService.cs ][ 168] _isChangingLocal set to FALSE [2025/01/23 16:03:13][ProgressToastReporter.cs][ 27] ProgressToastReporter status set to cancel [2025/01/23 16:03:13][DownloadService.cs ][ 299] System.IO.IOException: 文件名、目录名或卷标语法不正确。 : 'C:\Users\Hoshino-Yukino\AppData\Roaming\SyncClipboard\file\20250123\Clipboard 2025:01:23 16.02.pdf' at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at SyncClipboard.Core.Utilities.Web.HttpClientExtention.GetFile(HttpClient httpClient, String url, String localFilePath, IProgress
1 cancellationToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\Utilities\Web\HttpClientExtention.cs:line 44 at SyncClipboard.Core.Clipboard.FileProfile.BeforeSetLocal(CancellationToken cancelToken, IProgress
ios上传文件/图片,windows下载时出错
No response
Docker
Windows 11 24H2 26100.2894, SyncClipboard 2.8.8
ios
The text was updated successfully, but these errors were encountered:
ios自动生成的文件名里带冒号,windows不支持,需要做特殊处理 在我修复之前你可以通过在ios系统把文件分享到快捷指令的方式传输,这样IOS就不会自动以时间重命名文件,而不是先复制文件再运行快捷指令选择“上传文件/图片”
Sorry, something went wrong.
将单次的快捷指令改成下图暂时能用了,但是循环的快捷指令如果只改文本内的内容会使json内文件名与外部不匹配?
反正我也不用自动同步,就先这样用吧
No branches or pull requests
错误描述 | Describe the bug
ios上传成功,服务器SyncClipboard.json:
{"File":"Clipboard 2025:01:23 15.55.pdf","Clipboard":"1f57f017bca2070d1592d3a88360d566","Type":"File"}
服务器file文件夹内显示文件
Windows下载失败,但如果直接通过api下载则成功。
log内容:
[2025/01/23 16:03:13][ClipboardFactoryBase.cs][ 74][ClipboardFactoryBase] ClipboardProfileDTO { File = Clipboard 2025:01:23 16.02.pdf, Clipboard = 1f57f017bca2070d1592d3a88360d566, Type = File } [2025/01/23 16:03:13][DownloadService.cs ][ 350][PULL] remote is {"File":"Clipboard 2025:01:23 16.02.pdf","Clipboard":"1f57f017bca2070d1592d3a88360d566","Type":"File"} [2025/01/23 16:03:13][ClipboardFactory.cs ][ 185][ClipboardFactory] Text: [2025/01/23 16:03:13][FileProfile.cs ][ 169] calc md5 start [2025/01/23 16:03:13][FileProfile.cs ][ 184] md5 a9cea8e806b313cdadc095c0d78a17f1 [2025/01/23 16:03:13][DownloadService.cs ][ 402] start download: 1f57f017bca2070d1592d3a88360d566 [2025/01/23 16:03:13][ProgressToastReporter.cs][ 18] ProgressToastReporter created [2025/01/23 16:03:13][UploadService.cs ][ 168] _isChangingLocal set to FALSE [2025/01/23 16:03:13][ProgressToastReporter.cs][ 27] ProgressToastReporter status set to cancel [2025/01/23 16:03:13][DownloadService.cs ][ 299] System.IO.IOException: 文件名、目录名或卷标语法不正确。 : 'C:\Users\Hoshino-Yukino\AppData\Roaming\SyncClipboard\file\20250123\Clipboard 2025:01:23 16.02.pdf' at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at SyncClipboard.Core.Utilities.Web.HttpClientExtention.GetFile(HttpClient httpClient, String url, String localFilePath, IProgress
1 progress, Nullable1 cancellationToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\Utilities\Web\HttpClientExtention.cs:line 44 at SyncClipboard.Core.Clipboard.FileProfile.BeforeSetLocal(CancellationToken cancelToken, IProgress
1 progress) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\Clipboard\Profile\FileProfile.cs:line 113at SyncClipboard.Core.UserServices.DownloadService.DownloadAndSetRemoteProfileToLocal(Profile remoteProfile, CancellationToken cancelToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 424
at SyncClipboard.Core.UserServices.DownloadService.SetRemoteProfileToLocal(Profile remoteProfile, CancellationToken cancelToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 388
at SyncClipboard.Core.UserServices.DownloadService.DownloadProcess(CancellationToken token) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 360
at SyncClipboard.Core.UserServices.DownloadService.PullLoop(CancellationToken cancelToken) in D:\a\SyncClipboard\SyncClipboard\src\SyncClipboard.Core\UserServices\SyncService\DownloadService.cs:line 315`
复现步骤 | Steps to Reproduce
ios上传文件/图片,windows下载时出错
截图 | Screenshots
No response
服务端信息 | Server
Docker
桌面端信息 | Desktop
Windows 11 24H2 26100.2894, SyncClipboard 2.8.8
移动端信息 | Smartphone
ios
其他附加信息 | Additional context
No response
The text was updated successfully, but these errors were encountered: