WebDAV and uploading a folder with commas in the name

Advertisement

donr
Joined:
Posts:
6

WebDAV and uploading a folder with commas in the name

I'm running WinSCP v5.19.6 Build 12002 2022-02-22

I'm connecting to one of my Microsoft OneDrive accounts using the WebDAV protocol (the only method I've found that will let me connect to one of those accounts) to the hostname d.docs.live.net.

When the folder I upload has a comma in it (like testing, 1 2 3) the folder and contents transfer correctly. When I look at the folder in the remote directory, there is an unexpected folder along with the files that I copied. The folder has the same name as the main folder (in the test case, testing, 1 2 3).

If I attempt to descend into that folder, WinSCP gives me an "Error changing directory to "testing, 1 2 3" error and a code of 404 Multi-Status. If I attempt to delete that unexpected subfolder, I get a 404 Multi-Status error and the folder then appears empty. If I ascend to the parent folder, I can no longer access the contents of the remote folder testing, 1 2 3. If I delete that remote folder, I get a 404 Not Found error and when the parent folder is listed again the subfolder is gone.

All of this is unexpected behavior. Everything else works with the WebDAV protocol to the OneDrive accounts as long as the subfolder name doesn't include a comma.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,253
Location:
Prague, Czechia

Re: WebDAV and uploading a folder with commas in the name

Thanks for your report. I was able to reproduce the problem. I'll look into it.

Reply with quote

Advertisement

You can post new topics in this forum