In the log files:
I've replaced remote HOST/IP with `XXX.XXX.XXX.XXX`, remote login name with `REMOTE_ACCOUNT`;
I've replaced local HOST with `LOCAL_HOSTNAME`, local account with `LOCAL_ACCOUNT`;
I've replaced private key path with `PRIVATE_KEY`.
The remote path where I make logging is `E:\temp\`. Files & folders under `E:\` are (I've modified something here, but not in the log file):
2015/12/02 15:10 <DIR> ftproot
2019/01/27 21:28 <DIR> Games
2019/10/24 18:32 <DIR> My.Documents
2019/10/15 23:22 <DIR> My.Hosts
2019/10/23 02:51 <DIR> Programs
2019/10/27 01:09 <DIR> temp
2019/01/22 19:52 <DIR> XXXX.Documents
2019/08/07 17:16 <DIR> upload
2019/08/18 15:45 <DIR> xampp
2019/06/17 16:43 <DIR> xampp-1.7.3
2019/06/27 23:11 <DIR> xampp-1.7.3-used
2019/06/27 23:04 <DIR> xampp-1.8.2
2019/06/22 22:13 <DIR> xampp-173
2019/08/16 22:58 <DIR> xampp-7.0.33
2019/08/18 17:06 <DIR> xampp-7.1.31
2019/09/15 21:06 <DIR> xampp-7.3.9
OK, here come the operations & log files.
---------------------------------------------------------------
For the 1st log file (2019-10-27-log-1.log):
In the `E:\temp\` folder, there are files & folders:
2019/10/27 01:09 <DIR> .
2019/10/27 01:09 <DIR> ..
2019/10/23 00:07 <DIR> 上线前备份
2019/10/20 03:58 <DIR> 备份
2019/10/27 01:09 <DIR> 微信订阅号
When entering the `temp` folder, WinSCP only shows one folder:
备份
---------------------------------------------------------------
For the 2nd log file (2019-10-27-log-2.log), the remote folder has:
In the `E:\temp\` folder, there are files & folders:
2019/10/27 01:26 <DIR> .
2019/10/27 01:26 <DIR> ..
2019/10/20 03:58 <DIR> 备份
When entering the `temp` folder, WinSCP shows exactly what's in this folder:
备份
Then, I create a folder named `上线前备份`, the listing in WinSCP become garbage:
澶囦唤
涓婄嚎鍓嶅锟?
---------------------------------------------------------------
For the 3rd log file (2019-10-27-log-3.log):
Just maintain what the remote folder has in the 2nd log file, exit WinSCP and restart it then enter the remote folder and WinSCP shows:
备份
上线前备�
---------------------------------------------------------------
For the 4th log file (2019-10-27-log-4.log):
In the `E:\temp\` folder, there are files & folders:
2019/10/27 01:40 <DIR> .
2019/10/27 01:40 <DIR> ..
2019/10/27 01:26 <DIR> 上线
2019/10/20 03:58 <DIR> 备份
When entering the `temp` folder, WinSCP shows exactly what's in this folder:
备份
上线
Then, I rename the folder named `上线` to `上线前备份`, the listing in WinSCP become garbage:
备份
上线前备�
---------------------------------------------------------------
The OSes & softwares I'm using are:
* local:
Windows 10 x64 Pro 1903 (18362.449) Chinese
WinSCP 5.15.5 9925 with Chinese Simplified language pack.
* remote:
Windows 10 x64 Ent 1903 (18362.449) Chinese
Windows's built-in OpenSSH server
with Default shell changed to `C:\Program Files\Git\bin\bash.exe`
(via
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_server_configuration#configuring-the-default-shell-for-openssh-in-windows )
Git 2.23.0.windows.1
OpenSSH SFTP 7.7.2.1 (OpenSSH_7.7p1 for Windows)
The SFTP server invoked by OpenSSH is `C:\Windows\System32\OpenSSH\sftp-server.exe` which is the Windows's built-in one.
-
2019-10-27-log.zip (24.23 KB, Private file)
Description: Contains all 4 log files.