liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 257 forks source link

sftp dont sync files to remote host #874

Open liyin37 opened 3 years ago

liyin37 commented 3 years ago

Do you read the FAQ?

Describe the bug A clear and concise description of what the bug is. [01-07 17:51:17] [info] config at d:\automation\ansible-kubernetes {"remotePath":"/home/ansible/kubegis/","uploadOnSave":true,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":true,"secure":false,"remoteTimeOffsetInHours":0,"name":"aliyun-chengdu","host":"47.108.133.203","agent":"null","privateKeyPath":"null","passive":false,"port":22,"username":"**","password":"**"} [01-07 17:51:21] [warn] Config Option Conflicted. You are specifing "agent" and "privateKey" at the same time, the later will be ignored. [01-07 17:51:21] [error] Error: ENOENT: no such file or directory, open 'd:\automation\ansible-kubernetes\null' [01-07 17:51:42] [warn] Config Option Conflicted. You are specifing "agent" and "privateKey" at the same time, the later will be ignored. [01-07 17:51:42] [error] Error: ENOENT: no such file or directory, open 'd:\automation\ansible-kubernetes\null' [01-07 17:51:52] [warn] Config Option Conflicted. You are specifing "agent" and "privateKey" at the same time, the later will be ignored.

image

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Extension Logs from Startup - required

  1. Open User Settings.

    • On Windows/Linux - File > Preferences > Settings
    • On macOS - Code > Preferences > Settings
  2. Set sftp.debug to true and reload vscode.
  3. Reproduce the problem, get the logs from View > Output > sftp.