vscode-sftp
vscode-sftp copied to clipboard
Changed files upload not always complete
Do you read the FAQ?
- [x ] Yes.
- [x] I am going to read now.
Describe the bug When I want to upload changed files, I hit Ctrl + Alt + U and it starts uploading, but not always complete. I am missing files or directories.
To Reproduce Steps to reproduce the behavior:
I added a directory to my project with multiple sub directories and different files like php/xml/js/css. I see that they are recognized and I see the correct number of 100 changed files in VSCode. Then I hit Ctrl+Alt+u to upload them and check with a FTP tool on the server to find that from 100 files, there are 8 missing. Always the same files. Hitting Ctrl+Alt+u again and reupload it all for a second time seems to work. But not always, sometimes files and directories keep missing. When clicking 'upload' manually for each new directory, this works.
It's only seems to apply when I add new files and directories, like a new plugin, to a project. I did not have the problem with changed files that already exist on the remote server.
Expected behavior I want the upload Change files to work the first time. Or a debug message at the end like: xx files uploaded. Then I could simply see if I need to do it again if the numbers don't add up.
Desktop (please complete the following information):
- OS: Win 10
- VSCode Version 1.71.0
- Extension Version 1.16.1
Extension Logs from Startup - required It's a long log, not sure if I need to add all this?
What I did see the first time is a lot of:
[02-20 06:43:06] [debug] < '227 Entering Passive Mode (1,2,3,4).\r\n' [02-20 06:43:06] [debug] > LIST /domain/example.com/testdir/dir2 [02-20 06:43:06] [debug] < '150 Opening BINARY mode data connection for file list\r\n' [02-20 06:43:06] [debug] < '450 /domain/example.com/testdir/dir2: No such file or directory\r\n'