Upload and download files

更新时间:
复制 MD 格式

Cloud Shell lets you upload and download files.

You can transfer files between your local machine and Cloud Shell using one of the following methods:

  • From the Cloud Shell menu bar, select Upload or Download to transfer files between your local machine and the Cloud Shell instance.
  • Run the cloudshell command to download files. You can use the cloudshell download$HOME command to download a file from the home directory of your Cloud Shell instance to your local machine.

cloudshell download <file_name>

Important Uploaded files are saved to the $HOME directory of your Cloud Shell instance by default. You can only download files from the $HOME directory.

For a list of all built-in commands, run cloudshell help.