sftp-gcs icon indicating copy to clipboard operation
sftp-gcs copied to clipboard

Some folders are not visible using sftp

Open guilhem-martin opened this issue 1 year ago • 0 comments

Hello,

when I use the button "upload files" from the GCP console, then the files will be visible using sftp cli with ls. On the contrary, when I use the button "upload folder" from the GCP console, then the folder is not displayed using sftp cli with ls. It acts as if the folder doesn't exist although I can see the folder using the GCP console.

The workaround I found to make the folder visible to sftp is to create the existing directory using the SFTP mkdir command with exactly the same directory name as the existing (invisible) one. The command succeeds and then, when I do a sftp ls again, the directory becomes visible, and so becomes its content.

Is there a way to have these directories natively visible, without the need for this workaround?

Thank you.

guilhem-martin avatar Mar 30 '23 20:03 guilhem-martin