Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Diese Seite beschreibt den Upload und Download von Dateien und Ordnern mit Cloud Shell.
Dateien und Ordner hoch- und herunterladen
Sie können Dateien und Ordner ganz einfach mit Cloud Shell hochladen und herunterladen. Verwenden Sie eine der folgenden Methoden, um Dateien zu übertragen:
Klicken Sie auf more_vertMehr>Hochladen oder Herunterladen, um Dateien oder Ordner in Cloud Shell zu verschieben oder von dort herunterzuladen. Dateien und Ordner können nur in Ihr Basisverzeichnis hoch- und heruntergeladen werden.
Verwenden Sie den Befehl gcloud cloud-shell scp auf einem lokalen Terminal, um Dateien zwischen Cloud Shell und Ihrer Workstation zu übertragen. So verschieben Sie beispielsweise eine Datei „data.txt“ von Cloud Shell auf Ihren lokalen Computer:
Klicken Sie im Cloud Shell-Editor mit der rechten Maustaste auf ein Verzeichnis oder eine Datei und klicken Sie dann auf Download-Link kopieren, Herunterladen oderDateien hochladen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-01 (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**."]]