liximomo / vscode-sftp

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

Error, Warning: Unsupported file type (type = 4) for socket files #749

Open SinBirb opened 4 years ago

SinBirb commented 4 years ago

Do you read the FAQ?

Describe the bug the extension errors because of socket files in a subdirectory when trying to download the workspace directory. Excluding the file doesn't seem to work.

Related but closed without comments: https://github.com/liximomo/vscode-sftp/issues/464

To Reproduce Steps to reproduce the behavior:

  1. Right click in directory browser, choose "Force Download"
  2. Enter password
  3. Wait for error

Expected behavior Expected all files (except socket files if the extension doesn't like it) to be downloaded.

Desktop (please complete the following information):

Extension Logs from Startup - required bug.log

digital-around commented 2 years ago

Bumping because I ran into this today as well. Simply skipping socket files when transferring in both directions would be 100% acceptable, as with any i/o mapped to file.