Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Looks like I need a copy of this too

@JETTLIFE: A fix for the issue this thread is about is included in the latest version of WinSCP. What you describe does not look like the same problem at all. Please start a new thread and include session log file.
JETTLIFE

Looks like I need a copy of this too

Hey @martin, can I get a copy of the workaround to try for my situation? Having similar issue, trying to bulk upload almost a 1 TB of data to OneDrive from a network storage drive and keep having to check to hit "Retry" and then it works again for an inconsistent amount of time.
Arvy

Hey there! The issue is fixed!
Replied to you with a screenshot.
Thanks a lot for the fix.
Rogério
martin

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
Arvy

Hi @martin,
the workaround will help me a lot, I want to stop using the native OneDrive app and use WinSCP, I feel more comfortable with it.
Thanks!
Arvy

Hi @martin, any ideas?
Arvy

I can see several lines like:
. 2021-04-09 09:55:57.281 207: Failed to parse href: [https://d.docs.live.net/-removed-/Audios-DJ/2021/Dont%20Let%20Me%20Down%20(Club%20Mix)%20-%20Lucas%20^0%20Steve.mp3]

In fact, the "failed to parse" lines are the missing files in the remote pane view.
Arvy

Here is a new log, in "Debug 2" mode.

– connected
– listing
– drag & drop
– file overwritten
– closed
martin

I do not see any file upload in the log. Can you try again?
Arvy

Just removed my email and user id from logs.
< 2021-04-07 13:07:36.088     <D:href>https://d.docs.live.net/-removed-/Audios-DJ/2021/100%20Degrees%20-%20Dubdogz%20^0%20Bhaskar.m p 3</D:href>
Arvy

Here is a screenshot.
martin

Re: OneDrive, Syncronize and files with "&" or ","

Please attach a full session log file from GUI showing the directory listing and the overwrite prompt, when uploading the invisible files.

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Arvy

OneDrive, Syncronize and files with "&" or ","

Hello,
OneDrive native app is horrible, so I decided to use WinSCP to automate my sync.
Works fine, but fails in files with some chars like & and , in the filenames.

Script example:
open davs://<mydata>@d.docs.live.net/
synchronize remote -mirror -delete -criteria=either -preservetime I:\DJ /<myuserid>/Audios-DJ
exit

Runs and uploads files ok. But if I run again, it resend some files (not modified):
Anchor (Lush & Simon Remi |       12309 KB | 9085,4 KB/s | binary | 100%

I:\...\Bigfoot - W&W.     |       10549 KB | 8865,8 KB/s | binary | 100%
Eparrei (W&W Remix) - Dim |        9452 KB | 7099,6 KB/s | binary | 100%
Get Back (Junior Kain & A |       16013 KB | 7837,8 KB/s | binary | 100%
(...)

Note: I cannot see the files in the interface too! When I open directly (no-script), it shows that I have 903 local files vs 783 remote files. And I cannot see the files with & and ,. If I drag from local to remote, it shows an overwrite alert!

Probably: WinSCP is not interpreting correctly the "list directory" command sent to OneDrive servers, and ignoring those files.

Using latest version 5.17.10.

Thank you.