Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara mengupload dan mendownload file serta folder dengan
Cloud Shell.
Mengupload dan mendownload file dan folder
Anda dapat mengupload dan mendownload file serta folder dengan mudah menggunakan Cloud Shell. Untuk mentransfer file, gunakan salah satu metode
berikut:
Klik more_vertLainnya>Upload atau Download untuk memindahkan file atau folder ke atau dari
Cloud Shell. File dan folder hanya dapat diupload ke dan
didownload dari direktori beranda Anda.
Gunakan perintah gcloud cloud-shell scp
di terminal lokal untuk mentransfer file antara Cloud Shell dan
workstation Anda. Misalnya, untuk memindahkan file, 'data.txt', dari Cloud Shell ke komputer lokal Anda:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 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**."]]