Not all remote files are listed in a WebDAV connection

Advertisement

dfousek
Joined:
Posts:
5
Location:
Greece

Not all remote files are listed in a WebDAV connection

Hi!
I have an issue with WebDAV remote folders not showing correctly with WinSCP, while showing correctly with Win10's file explorer. In Win10 I have already modified the necessary registry entry to increase the preset limit above 50MB.
Any ideas?
Dimitri

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
33,710
Location:
Prague, Czechia

Re: Not all remote files are listed in a WebDAV connection

Can you see the files in any other real WebDAV client? What WebDAV server is that? I believe that Windows File Explorer use some tricks when connected to Microsoft servers.

Reply with quote

dfousek
Joined:
Posts:
5
Location:
Greece

Hi Martin,
It is a National Instruments DAQ device (CompactRIO series, running NI-Linux with opkg packages).
Win10's file explorer lists correctly files/folders, but has other issues e.g.: with cache, with dir contents refreshing, etc.
WinSCP was the 1st 'real' WebDAV to try....
Dimitri

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
33,710
Location:
Prague, Czechia

So what does it exactly mean "not showing correctly"?

Please attach a full session log file showing the problem (using the latest version of WinSCP).

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.

Reply with quote

dfousek
Joined:
Posts:
5
Location:
Greece

Not all remote files are listed in a WebDAV connection

Martin, I am attaching you the logs and screen captures of two sessions (sftp and webdav).
Dimitri
  • 2xLogs and ScreenCaptures.7z (136.58 KB, Private file)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
33,710
Location:
Prague, Czechia

Re: Not all remote files are listed in a WebDAV connection

Those are all files and folders with spaces in their name.

It's because the server encodes their URLs incorrectly.

A correct URL in the server response would be like:
<D:href>/files/u/This%20is%20the%20miniCORSAIR%20USB.txt</D:href>
While your server responds:
<D:href>/files/u/This is the miniCORSAIR USB.txt</D:href>


Last edited by martin on 2020-04-03; edited 2 times in total

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
33,710
Location:
Prague, Czechia

Re: Not all remote files are listed in a WebDAV connection

This issue has been added to the tracker:
https://winscp.net/tracker/1876

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

Reply with quote

dfousek
Joined:
Posts:
5
Location:
Greece

Hi Martin,
By enabling the "Tolerate non-encoded ..." option, I can see files, I wasn't able to do with last version.
However, when I tried to drag'n'drop a file with greek characters and spaces, the uploaded file name ended up with ????? (and the spaces in the correct places). But, I am not sure, if this is WinSCP issue or a National Instrument's problematic WebDAV server...
Bye,
Dimitri

Reply with quote

Advertisement

gm
Joined:
Posts:
1
Location:
Quarantine

Bug 1876

I am developing an application to run on National Instruments hardware running their WebDAV server. I've reviewed the discussions regarding bug 1876 and it certainly appears that this is same issue. I am not able to see files that contain a space character when contacting the remote target from WinSCP. Could you provide me with access to the 5.18 beta release? I'm hoping this will help me convince their tech support staff that this is an issue that needs fixing on their end. I've attached a log for reference in case it helps. Thanks in advance.
  • pxi-http.log (34.51 KB, Private file)

Reply with quote

Advertisement

You can post new topics in this forum