Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to upload and download files and folders with
Cloud Shell.
Upload and download files and folders
You can upload and download files and folders easily using
Cloud Shell. To transfer files, use one of the following
methods:
Click more_vertMore>Upload or Download to move your files or folders to or from
Cloud Shell. Files and folders can only be uploaded to and
downloaded from your home directory.
Use the gcloud cloud-shell scp command
on a local terminal to transfer files between Cloud Shell and
your workstation. For example, to move a file, 'data.txt', from
Cloud Shell to your local machine:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Manage files with Cloud Shell\n\nThis page describes how to upload and download files and folders with\nCloud Shell.\n\nUpload and download files and folders\n-------------------------------------\n\nYou can upload and download files and folders easily using\nCloud Shell. To transfer files, use one of the following\nmethods:\n\n- Click more_vert **More** \\\u003e\n **Upload** or **Download** to move your files or folders to or from\n Cloud Shell. Files and folders can only be uploaded to and\n downloaded from your home directory.\n\n- Use the [`cloudshell download`](/shell/docs/using-cloudshell-command)\n command to download files:\n\n cloudshell download test1.md test2.md\n\n- [Use the `gcloud cloud-shell scp` command](/shell/docs/using-cloud-shell-with-gcloud-cli)\n on a local terminal to transfer files between Cloud Shell and\n your workstation. For example, to move a file, 'data.txt', from\n Cloud Shell to your local machine:\n\n gcloud cloud-shell scp cloudshell:~/data.txt localhost:~data.txt\n\n- In your Cloud Shell Editor Explorer, right-click\n a directory or file and then click **Copy Download Link** , **Download** ,\n or **Upload Files**."]]