Describe the bug
The download feature doesn't work on files that were modified locally.
To Reproduce
Steps to reproduce the behavior:
Download a file from the server.
Modify the downloaded copy of the file but dont save and/or upload, so it stays unsaved and unuploaded.
Modify the remote file either using ssh or from a different machine
On the original computer used in step 1 and 2, try to download the file again without closing it.
The status bar reports downloaded, but the file didnt refresh from the server.
Expected behavior
When trying to download a file from the server. The module should download it and overwrites the local copy no matter the local copy saved/modification status. Or at least not say "Done [filename]".
Desktop (please complete the following information):
OS: Win10
VSCode Version 1.83.1
Extension Version v1.18.1
Extension Logs from Startup - required
[2024-04-02 12:52:01] [trace] run command 'Download File'
[2024-04-02 12:52:01] [trace] handle download file for c:\Users[...]\public_html\test.php
[2024-04-02 12:52:01] [debug] > PASV
[2024-04-02 12:52:01] [debug] < '227 Entering Passive Mode (123.123.123.123,153,45).\r\n'
[2024-04-02 12:52:01] [debug] > LIST -al /public_html
[2024-04-02 12:52:01] [debug] < '150 Opening BINARY mode data connection for file list\r\n'
[2024-04-02 12:52:01] [debug] < '226 Transfer complete\r\n'
[2024-04-02 12:52:01] [debug] > PASV
[2024-04-02 12:52:01] [debug] < '227 Entering Passive Mode (123.123.123.123,128,135).\r\n'
[2024-04-02 12:52:01] [debug] > RETR /public_html/test.php
[2024-04-02 12:52:01] [debug] < '150 Opening BINARY mode data connection for /public_html/test.php (2740 bytes)\r\n'
[2024-04-02 12:52:01] [debug] < '226 Transfer complete\r\n'
[2024-04-02 12:52:01] [debug] > MODE S
[2024-04-02 12:52:01] [debug] < '200 Mode set to S\r\n'
[2024-04-02 12:52:01] [info] remote ➞ local c:\Users[...]\public_html\test.php
Do you read the FAQ?
Describe the bug The download feature doesn't work on files that were modified locally.
To Reproduce Steps to reproduce the behavior:
Expected behavior When trying to download a file from the server. The module should download it and overwrites the local copy no matter the local copy saved/modification status. Or at least not say "Done [filename]".
Desktop (please complete the following information):
Extension Logs from Startup - required [2024-04-02 12:52:01] [trace] run command 'Download File' [2024-04-02 12:52:01] [trace] handle download file for c:\Users[...]\public_html\test.php [2024-04-02 12:52:01] [debug] > PASV [2024-04-02 12:52:01] [debug] < '227 Entering Passive Mode (123.123.123.123,153,45).\r\n' [2024-04-02 12:52:01] [debug] > LIST -al /public_html [2024-04-02 12:52:01] [debug] < '150 Opening BINARY mode data connection for file list\r\n' [2024-04-02 12:52:01] [debug] < '226 Transfer complete\r\n' [2024-04-02 12:52:01] [debug] > PASV [2024-04-02 12:52:01] [debug] < '227 Entering Passive Mode (123.123.123.123,128,135).\r\n' [2024-04-02 12:52:01] [debug] > RETR /public_html/test.php [2024-04-02 12:52:01] [debug] < '150 Opening BINARY mode data connection for /public_html/test.php (2740 bytes)\r\n' [2024-04-02 12:52:01] [debug] < '226 Transfer complete\r\n' [2024-04-02 12:52:01] [debug] > MODE S [2024-04-02 12:52:01] [debug] < '200 Mode set to S\r\n' [2024-04-02 12:52:01] [info] remote ➞ local c:\Users[...]\public_html\test.php