Filemask doesn't work on WebDAV?

Advertisement

adea@itu.int
Donor
Joined:
Posts:
11
Location:
Geneva

Filemask doesn't work on WebDAV?

Hello,

I have a script below containing a filemask (which download files after 2015-01-01) that when I run, nothing was downloaded. But when I remove the filemask, it works. Note, many files are after 2015-01-01.

Is filemask working in WebDAV?
open https://login:password@our.site.com 
option transfer automatic 
synchronize -mirror -filemask=">2015-01-01" local "C:\Temp" "/Temp"
When I open our site using FTP, the filemask works:
open ftp://login:password@our.site.com 
option transfer automatic 
synchronize -mirror -filemask=">2015-01-01" local "C:\Temp" "/Temp"
By the way, in WebDAV, when I use open https, WinSCP was able to detect the new files but when he starts downloading, he excluded them, see the log, last part, below:
. 2016-01-07 10:04:28.570 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001!!MSW-E.docx' [2015-12-10T15:29:01.000Z] [55533] is new
. 2016-01-07 10:04:28.574 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001-E.htm' [2015-12-10T15:32:04.000Z] [9654] is new
. 2016-01-07 10:04:28.575 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001-F.htm' [2015-12-10T15:32:05.000Z] [9653] is new
. 2016-01-07 10:04:28.575 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001-S.htm' [2015-12-10T15:32:05.000Z] [9661] is new
. 2016-01-07 10:04:28.575 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002!!MSW-E.docx' [2015-12-10T10:44:02.000Z] [88522] is new
. 2016-01-07 10:04:28.576 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002-E.htm' [2015-12-10T10:48:02.000Z] [9769] is new
. 2016-01-07 10:04:28.576 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002-F.htm' [2015-12-10T10:48:02.000Z] [9768] is new
. 2016-01-07 10:04:28.577 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002-S.htm' [2015-12-10T10:48:03.000Z] [9776] is new
. 2016-01-07 10:04:28.577 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003!!MSW-E.docx' [2015-12-15T15:02:15.000Z] [56177] is new
. 2016-01-07 10:04:28.578 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003-E.htm' [2015-12-15T15:06:03.000Z] [9612] is new
. 2016-01-07 10:04:28.578 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003-F.htm' [2015-12-15T15:06:03.000Z] [9611] is new
. 2016-01-07 10:04:28.579 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003-S.htm' [2015-12-15T15:06:03.000Z] [9619] is new
. 2016-01-07 10:04:28.579 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004!!MSW-E.docx' [2015-12-15T15:21:06.000Z] [57740] is new
. 2016-01-07 10:04:28.579 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004-E.htm' [2015-12-15T15:24:01.000Z] [9729] is new
. 2016-01-07 10:04:28.579 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004-F.htm' [2015-12-15T15:24:02.000Z] [9728] is new
. 2016-01-07 10:04:28.580 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004-S.htm' [2015-12-15T15:24:02.000Z] [9736] is new
. 2016-01-07 10:04:28.580 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005!!MSW-E.docx' [2015-12-23T07:26:52.000Z] [4476987] is new
. 2016-01-07 10:04:28.580 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005-E.htm' [2015-12-23T07:30:00.000Z] [9828] is new
. 2016-01-07 10:04:28.581 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005-F.htm' [2015-12-23T07:30:00.000Z] [9827] is new
. 2016-01-07 10:04:28.581 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005-S.htm' [2015-12-23T07:30:01.000Z] [9835] is new
. 2016-01-07 10:04:28.582 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-E.htm' [2015-12-23T07:30:01.000Z] [8535] is new
. 2016-01-07 10:04:28.582 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-F.htm' [2015-12-23T07:30:01.000Z] [8530] is new
. 2016-01-07 10:04:28.583 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-S.htm' [2015-12-23T07:30:01.000Z] [8537] is new
< 2016-01-07 10:04:28.583 Script: Synchronizing...
. 2016-01-07 10:04:28.583 Synchronizing local directory 'C:\Users\adea\Documents\ITU\ITU-R WP5D\2015-2019\docs-dms\WP 5D\c\' with remote directory '/r/2015/wp5d/docs/c/', params = 0x1002 (NoConfirmation, Mirror)
. 2016-01-07 10:04:28.583 Copying 23 files/directories to local directory "C:\Users\adea\Documents\ITU\ITU-R WP5D\2015-2019\docs-dms\WP 5D\c\"
. 2016-01-07 10:04:28.583   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: *.*
. 2016-01-07 10:04:28.583   TM: M; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: >2015-01-01; ResumeL: 0
. 2016-01-07 10:04:28.583   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2016-01-07 10:04:28.583 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0001!!MSW-E.docx" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0001-E.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0001-F.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0001-S.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0002!!MSW-E.docx" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0002-E.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0002-F.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0002-S.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0003!!MSW-E.docx" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0003-E.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0003-F.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0003-S.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0004!!MSW-E.docx" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0004-E.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0004-F.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0004-S.htm" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.584 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0005!!MSW-E.docx" excluded from transfer
* 2016-01-07 10:04:28.584 (EScpSkipFile) 
. 2016-01-07 10:04:28.585 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0005-E.htm" excluded from transfer
* 2016-01-07 10:04:28.585 (EScpSkipFile) 
. 2016-01-07 10:04:28.585 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0005-F.htm" excluded from transfer
* 2016-01-07 10:04:28.585 (EScpSkipFile) 
. 2016-01-07 10:04:28.585 File "/r/2015/wp5d/docs/c/R15-WP5D-C-0005-S.htm" excluded from transfer
* 2016-01-07 10:04:28.585 (EScpSkipFile) 
. 2016-01-07 10:04:28.585 File "/r/2015/wp5d/docs/c/R15-WP5D-C-E.htm" excluded from transfer
* 2016-01-07 10:04:28.585 (EScpSkipFile) 
. 2016-01-07 10:04:28.585 File "/r/2015/wp5d/docs/c/R15-WP5D-C-F.htm" excluded from transfer
* 2016-01-07 10:04:28.585 (EScpSkipFile) 
. 2016-01-07 10:04:28.585 File "/r/2015/wp5d/docs/c/R15-WP5D-C-S.htm" excluded from transfer
* 2016-01-07 10:04:28.585 (EScpSkipFile) 
> 2016-01-07 10:04:28.585 Script: close
. 2016-01-07 10:04:28.585 sess: Destroying session.
. 2016-01-07 10:04:28.585 sess: Closing connection.
. 2016-01-07 10:04:28.585 sess: Connection closed.
Thanks.

Reply with quote

Advertisement

adea@itu.int
Donor
Joined:
Posts:
11
Location:
Geneva

Hello Prikryl,

The prototype that you've sent by email was working well :D. Could I use it now in my application.

Thanks and happy new year!

Regards,

Maynard

Reply with quote

Advertisement

adea@itu.int
Donor
Joined:
Posts:
11
Location:
Geneva

Hi Prikryl,

When I test it in a different folder using the script shown below, I got a strange result. The last folder \c is created again. So it becomes ...\c\c where the last folder \c is empty. In our server, there's no subfolder \c. I don't know whether the error comes from our server? I'm listing down the relevant log file below. WinSCP detected that \c is New.
synchronize -mirror -filemask=">2015-01-01" local "C:\Users\adea\Documents\ITU\ITU-R WP5D\2015-2019\docs-dms\WP 5D\c" "/confsynch/r/2015/wp5d/docs/c"
. 2016-01-07 17:00:07.486 c;D;0;2015-12-23T07:26:52.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0001!!MSW-E.docx;-;55533;2015-12-10T15:29:01.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0001-E.htm;-;9654;2015-12-10T15:32:04.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0001-F.htm;-;9653;2015-12-10T15:32:05.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0001-S.htm;-;9661;2015-12-10T15:32:05.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0002!!MSW-E.docx;-;88522;2015-12-10T10:44:02.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0002-E.htm;-;9769;2015-12-10T10:48:02.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0002-F.htm;-;9768;2015-12-10T10:48:02.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0002-S.htm;-;9776;2015-12-10T10:48:03.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0003!!MSW-E.docx;-;56177;2015-12-15T15:02:15.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0003-E.htm;-;9612;2015-12-15T15:06:03.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0003-F.htm;-;9611;2015-12-15T15:06:03.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0003-S.htm;-;9619;2015-12-15T15:06:03.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0004!!MSW-E.docx;-;57740;2015-12-15T15:21:06.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0004-E.htm;-;9729;2015-12-15T15:24:01.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0004-F.htm;-;9728;2015-12-15T15:24:02.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0004-S.htm;-;9736;2015-12-15T15:24:02.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0005!!MSW-E.docx;-;4476987;2015-12-23T07:26:52.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0005-E.htm;-;9828;2015-12-23T07:30:00.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0005-F.htm;-;9827;2015-12-23T07:30:00.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-0005-S.htm;-;9835;2015-12-23T07:30:01.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-E.htm;-;8535;2015-12-23T07:30:01.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-F.htm;-;8530;2015-12-23T07:30:01.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.486 R15-WP5D-C-S.htm;-;8537;2015-12-23T07:30:01.000Z;3;"" [0];"" [0];---------;0
. 2016-01-07 17:00:07.544 Remote file '/r/2015/wp5d/docs/c' [2015-12-23T07:26:52.000Z] [0] is new
. 2016-01-07 17:00:07.545 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001!!MSW-E.docx' [2015-12-10T15:29:01.000Z] [55533] is new
. 2016-01-07 17:00:07.549 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001-E.htm' [2015-12-10T15:32:04.000Z] [9654] is new
. 2016-01-07 17:00:07.549 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001-F.htm' [2015-12-10T15:32:05.000Z] [9653] excluded from synchronization
. 2016-01-07 17:00:07.549 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0001-S.htm' [2015-12-10T15:32:05.000Z] [9661] excluded from synchronization
. 2016-01-07 17:00:07.549 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002!!MSW-E.docx' [2015-12-10T10:44:02.000Z] [88522] is new
. 2016-01-07 17:00:07.550 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002-E.htm' [2015-12-10T10:48:02.000Z] [9769] is new
. 2016-01-07 17:00:07.550 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002-F.htm' [2015-12-10T10:48:02.000Z] [9768] excluded from synchronization
. 2016-01-07 17:00:07.550 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0002-S.htm' [2015-12-10T10:48:03.000Z] [9776] excluded from synchronization
. 2016-01-07 17:00:07.550 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003!!MSW-E.docx' [2015-12-15T15:02:15.000Z] [56177] is new
. 2016-01-07 17:00:07.550 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003-E.htm' [2015-12-15T15:06:03.000Z] [9612] is new
. 2016-01-07 17:00:07.550 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003-F.htm' [2015-12-15T15:06:03.000Z] [9611] excluded from synchronization
. 2016-01-07 17:00:07.551 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0003-S.htm' [2015-12-15T15:06:03.000Z] [9619] excluded from synchronization
. 2016-01-07 17:00:07.551 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004!!MSW-E.docx' [2015-12-15T15:21:06.000Z] [57740] is new
. 2016-01-07 17:00:07.551 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004-E.htm' [2015-12-15T15:24:01.000Z] [9729] is new
. 2016-01-07 17:00:07.551 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004-F.htm' [2015-12-15T15:24:02.000Z] [9728] excluded from synchronization
. 2016-01-07 17:00:07.551 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0004-S.htm' [2015-12-15T15:24:02.000Z] [9736] excluded from synchronization
. 2016-01-07 17:00:07.551 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005!!MSW-E.docx' [2015-12-23T07:26:52.000Z] [4476987] is new
. 2016-01-07 17:00:07.552 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005-E.htm' [2015-12-23T07:30:00.000Z] [9828] is new
. 2016-01-07 17:00:07.552 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005-F.htm' [2015-12-23T07:30:00.000Z] [9827] excluded from synchronization
. 2016-01-07 17:00:07.552 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-0005-S.htm' [2015-12-23T07:30:01.000Z] [9835] excluded from synchronization
. 2016-01-07 17:00:07.552 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-E.htm' [2015-12-23T07:30:01.000Z] [8535] is new
. 2016-01-07 17:00:07.552 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-F.htm' [2015-12-23T07:30:01.000Z] [8530] excluded from synchronization
. 2016-01-07 17:00:07.552 Remote file '/r/2015/wp5d/docs/c/R15-WP5D-C-S.htm' [2015-12-23T07:30:01.000Z] [8537] excluded from synchronization
< 2016-01-07 17:00:07.552 Script: Synchronizing...
. 2016-01-07 17:00:07.552 Synchronizing local directory 'C:\Users\adea\Documents\ITU\ITU-R WP5D\2015-2019\docs-dms\WP 5D\c\' with remote directory '/confsynch/r/2015/wp5d/docs/c/', params = 0x1002 (NoConfirmation, Mirror)
. 2016-01-07 17:00:07.553 Copying 12 files/directories to local directory "C:\Users\adea\Documents\ITU\ITU-R WP5D\2015-2019\docs-dms\WP 5D\c\"
. 2016-01-07 17:00:07.553   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: *.*
. 2016-01-07 17:00:07.553   TM: M; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: >2015-01-01 | *!*L*!*.doc*; *-F.htm; *-S.htm; ResumeL: 0
. 2016-01-07 17:00:07.553   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2016-01-07 17:00:07.553 File: '/confsynch/r/2015/wp5d/docs/c/c' [n/a] [0]
< 2016-01-07 17:00:07.553 Script: Local 'C:\Users\adea\Documents\ITU\ITU-R WP5D\2015-2019\docs-dms\WP 5D\c' <= Remote '/confsynch/r/2015/wp5d/docs/c'
. 2016-01-07 17:00:07.554 ah_create, for WWW-Authenticate
. 2016-01-07 17:00:07.554 auth: Sending 'Basic' response.
> 2016-01-07 17:00:07.554 <?xml version="1.0" encoding="utf-8"?>
> 2016-01-07 17:00:07.554 <propfind xmlns="DAV:"><allprop/></propfind>
. 2016-01-07 17:00:07.554 Sending request headers:
. 2016-01-07 17:00:07.554 PROPFIND /confsynch/r/2015/wp5d/docs/c/c/ HTTP/1.1
 
. 2016-01-07 17:00:07.554 User-Agent: WinSCP/5.8.1 neon/0.30.1
 
. 2016-01-07 17:00:07.554 Connection: TE
Thanks, Maynard

Reply with quote

martin
Site Admin
martin avatar

In the GUI, is the c displayed as a subfolder of the real c?

Can you attach a complete log file, including a WebDAV listing of the remote directory?

Reply with quote

adea@itu.int
Donor
Joined:
Posts:
11
Location:
Geneva

Hi Prikryl,

In WinSCP user interface, I can see the sub-subfolder \c\c but when I double-click it, it shows "404 Not Found". When browsing the WebDAV on IE, I can only see 1 subfolder \c and \c\c doesn't show.

Please see attached logfile and list of files in XML.

Thank you. Regards, Maynard
  • synclog-2016-01-05_10h44.txt (114.01 KB, Private file)
Description: Logfile

Reply with quote

Advertisement

adea@itu.int
Donor
Joined:
Posts:
11
Location:
Geneva

Here is the list of files in xml.
  • syncxml-2016-01-05_10h44.txt (5.93 KB, Private file)
Description: list of files in xml

Reply with quote

martin
Site Admin
martin avatar

On what URL do you access the WebDAV in IE?

Can you try some other WebDAV client? I wonder how it will behave. For example a Cyberduck.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Glad to read that :)

The problem is this:

In the WebDAV listing, there's always an entry for the directory being listed.

WinSCP compares each entry's URL against an URL of the directory being listed. If they match, it treats that entry similarly to . entry in Windows/*nix directory listing.

The problem is that the URLs in the listing are like http://confsynch.itu.int/r/2015/wp5d/docs/c/, while you list URL like http://www.itu.int/confsynch/r/2015/wp5d/docs/c/

They do not match.

Cannot you connect to confsynch.itu.int?

Reply with quote

martin
Site Admin
martin avatar

Either the http://www.itu.int/confsynch/ should redirect to http://confsynch.itu.int/. Or the URL's in the listing should match the URLs of the listing request. The first is probably easier to implement.

Or tell everyone to use confsynch.itu.int, not www.itu.int/confsynch.

Reply with quote

Advertisement

vercellj
Joined:
Posts:
5

Re: Filemask doesn't work on WebDAV?

@martin: Thank you.

Unfortunately, WinSCPNet.dll FileVersion 1.3.0.6030 Product version 5.8.0.0 is not working. Pattern and size filters work, but < time filters are ignored and > time filters return nothing. (Filter syntax verified working in WinSCP GUI client version 5.7.6 (Build 5874)) Sample settings:

SessionOptions:
Protocol : Webdav
HostName : *******
PortNumber : 443
UserName : *******
Password : *******
Timeout : 00:00:15
TimeoutInMilliseconds : 15000
GiveUpSecurityAndAcceptAnySshHostKey : False
FtpMode : Passive
FtpSecure : None
WebdavSecure : True
WebdavRoot : /
TlsHostCertificateFingerprint : *******
GiveUpSecurityAndAcceptAnyTlsHostCertificate : False

TransferOptions:
PreserveTimestamp : True
FilePermissions :
TransferMode : Binary
FileMask : >1D
ResumeSupport : default
SpeedLimit : 0
OverwriteMode : Overwrite

[Update] Results are the same for version 1.3.0.6106/5.8.1.0.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Filemask doesn't work on WebDAV?

@vercellj: Please attach a full session log file showing the problem (using the latest version of WinSCP).
Note what files (are why) are not included/excluded the way you want.

To generate log file, set Session.SessionLogPath. 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

vercellj
Joined:
Posts:
5

Re: Filemask doesn't work on WebDAV?

I've included 4 log files:

WinSCPnet_7252_1.3.0.6030_Gt4D.log : >4D using v1.3.0.6030 (0 files)
WinSCPnet_7252_1.3.0.6030_Lt4D.log : <4D using v1.3.0.6030 (12 files)
WinSCPnet_9468_1.3.0.6106_Gt4D.log : >4D using v1.3.0.6106 (0 files)
WinSCPnet_9468_1.3.0.6106_Lt4D.log : <4D using v1.3.0.6106 (12 files)

And 3 JPGs captured using the windows GUI client 5.7.6:

AllFiles.JPG : FlightHour_*.csv (12 files)
FilesGt4D.JPG : FlightHour_*.csv>4D (2 files)
FilesLt4D.JPG : FlightHour_*.csv<4D (10 files)
  • WinSCPnet_WebDavFileMaskBroken_20160118.zip (118.33 KB, Private file)

Reply with quote

martin
Site Admin
martin avatar

Re: Filemask doesn't work on WebDAV?

Thanks. But I've asked for a session log (.SessionLogPath). This is a debug log (.DebugLogPath).

Reply with quote

vercellj
Joined:
Posts:
5

Re: Filemask doesn't work on WebDAV?

My mistake. Session logs attached.
  • WinSCPnet_WebDavFileMaskBroken_20160120.zip (35.54 KB, Private file)
Description: 4 Session logs. Refer to previous zip for GUI images.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Filemask doesn't work on WebDAV?

Sorry, I've sent you an old build the last time.

Please use 5.8.1 beta which was released meanwhile.

Reply with quote

Advertisement

You can post new topics in this forum