Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
394 stars 75 forks source link

OS name conversion Linux-Windows #348

Open JeffTeter opened 1 year ago

JeffTeter commented 1 year ago

Is this a similar or duplicate feature request?

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Some characters, e.g., asterisks, are valid in Linux OS but not in Windows. Therefore, when I attempt to upload a folder from my Linux box, the upload fails. The code base I work with has some of these characters embedded in file names for items I want to manage as source code on the Windows side.

Describe the solution you'd like A clear and concise description of what you want to happen. I'd like to see an on-the-fly character conversion to valid URL sequences. For instance, each "*" in a file name would convert to "%2A. The set of conversions suggested: Linux Character URL Replacement
\" %22
* %2A
\: %3A
? %3F
\ %5C
< %3C
> %3E

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. I've written Linux side utilities to convert these file names to valid URL's but that does not address the on-the-fly issue.

Does this project help you?