SFTP downloads halted, files left on server

Advertisement

jonathanx
Joined:
Posts:
3

SFTP downloads halted, files left on server

Hi,
We are using Microsoft BizTalk 2020 CU 4 with WinSCP 5.21.5 (and corresponding .NET library, October 6 2022). Please help us with the following.

In our logs we are seeing behavior that it tries to download a hidden file/directory with timestamp 1899. After this, most or all subsequent downloads fail (files are left on the server). We are downloading files from other directories on this server successfully. This directory has a *.* file mask which also may cause the issue.

What can we change on our server or the SFTP server so that downloads can continue?
. 2023-05-01 09:10:22.327 REDACTED_-2023-05-01~06.44.31.csv;-;244;2023-05-01T06:26:49.000Z;4;"" [0];"" [0];rwxrwxrwx;1
. 2023-05-01 09:10:22.327 ..;D;0;1899-12-30T01:00:00.000Z;0;"" [0];"" [0];---------;0
Please see the attached log file for reference.

Reply with quote

Advertisement

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

Re: SFTP downloads halted, files left on server

The log does not show any failed transfers. Can you post a complete log that shows them?

Reply with quote

jonathanx
Joined:
Posts:
3

Thanks for your answer Martin.
The problem is that the failed transfers (file names) do not show up in the logs, they are just left on the server.

We did have error messages before, but not on 1st of May and later. So I am not sure if we can see what is amiss, but maybe the errors below can help? They are of an earlier date.
< 2023-04-25 15:40:03.657 Script: Error deleting file '/downloads/folder1/folder2/REDACTED-2023-04-25~13.31.49.extension'.
< 2023-04-25 15:40:03.657 Script: Permission denied.
< 2023-04-25 15:40:03.657 Error code: 3
 
< 2023-04-28 15:39:54.623 Error message from server: /downloads/folder1/folder2/REDACTED-2023-04-28~13.38.14.extension is not a valid file path
< 2023-04-28 15:39:54.623 Type: SSH_FXP_STATUS, Size: 115, Number: 263
< 2023-04-28 15:39:54.623 Status code: 2, Message: 263, Server: /downloads/folder1/folder2/REDACTED-2023-04-28~13.38.13.extension is not a valid file path, Language:  
< 2023-04-28 15:39:54.623 Script: Can't get attributes of file '/downloads/folder1/folder2/REDACTED-2023-04-28~13.38.13.extension'.
< 2023-04-28 15:39:54.623 No such file or directory.
< 2023-04-28 15:39:54.623 Error code: 2

Reply with quote

jonathanx

The files stay at the SFTP, while we expect BizTalk 2020 to download them. Last week, we have placed the SFTP in its own Host Process (separate Windows service) and it has since worked without a hitch (though we still get errors like no such file).

Reply with quote

Advertisement

You can post new topics in this forum