{"_id":"5bb4f62737088700035a0b6a","project":"54cf411f9d09bb0d00a17a1c","version":{"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","__v":15,"createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254","5bb4f4e01635b500032b94fd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5bb4f4e01635b500032b94fd","project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-10-03T16:57:04.619Z","from_sync":false,"order":7,"slug":"migrating","title":"Migrating to AWS Cloud9"},"user":"5bac0709475b5d000364fa42","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-03T17:02:31.325Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"In this phase, you download folders and files from the Cloud9 IDE to your local computer. Specifically, this topic shows you how to do one or more of the following:\n\n* Download all of the folders and files in your **Workspace** window as a single file.\n* Download an individual folder in your **Workspace** window as a single file.\n* Download folders and files that are not in your **Workspace** window.  \n\n# To download all of the folders and files in your Workspace window as a single file\n\nWith your Cloud9 workspace open, on the menu bar in the Cloud9 IDE, choose **File, Download Project**. Cloud9 takes all of the folders and files in your **Workspace** window (including hidden folders and files) and creates a single file from them. For Windows, this is a .zip file by default. For Mac and Linux, this is a .tar.gz file by default. Then follow your web browser's on-screen instructions to download that .zip or .tar.gz file to your local computer.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/4debddc-ide-download-project.png\",\n        \"ide-download-project.png\",\n        307,\n        337,\n        \"#5a8fd3\"\n      ]\n    }\n  ]\n}\n[/block]\n:information-source: To change the default download file type, choose **Cloud9, Preferences, User Settings, Tree & Navigate, Download Files As**, and then choose the file type to use.\n\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace).\n\n# To download an individual folder in your Workspace window as a single file\n\nRight-click that folder in your **Workspace** window, and then choose **Download** from the context menu. Cloud9 takes the folder you selected (including hidden subfolders) and creates a single file out of it. For Windows, this is a .zip file by default. For Mac and Linux, this is a .tar.gz file by default. Then follow your web browser's onscreen instructions to download that .zip or .tar.gz file to your local computer.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/a371b50-ide-download-folder.png\",\n        \"ide-download-folder.png\",\n        276,\n        203,\n        \"#5b7cae\"\n      ]\n    }\n  ]\n}\n[/block]\n:information-source: To change the default download file type, choose **Cloud9, Preferences, User Settings, Tree & Navigate, Download Files As**, and then choose the file type to use.\n\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace).\n\n# To download an individual file in your Workspace window as a single file\n\nRight-click that file in your **Workspace** window, and then choose **Download** from the context menu. Then follow your web browser's onscreen instructions to download that file to your local computer.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/063bc80-ide-download-file.png\",\n        \"ide-download-file.png\",\n        283,\n        287,\n        \"#ae504b\"\n      ]\n    }\n  ]\n}\n[/block]\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace).\n\n# To download folders and files that are not in your Workspace window\n\nIn a terminal session in the Cloud9 IDE, do the following: \n\n1. Use a built-in utility such as [zip](https://www.computerhope.com/unix/zip.htm) to create a .zip file, or a built-in utility such as [tar](https://www.computerhope.com/unix/utar.htm) to create a .tar.gz file, that contains all of the other folders and files you want to get. Store that .zip or .tar.gz file in the home directory of your workspace. For example, to add the folder at **/var/www/html** to a file named **website.zip** in the **~/workspace** directory:\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"zip ~/workspace/website.zip -r /var/www/html\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n(See more [zip examples](https://www.computerhope.com/unix/zip.htm#examples).)\n\nOr to add the folder at **/var/www/html** to a file named **website.tar.gz** in the **~/workspace** directory:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"tar -czvf ~/workspace/website.tar.gz /var/www/html\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n(See more [tar examples](https://www.computerhope.com/unix/utar.htm#examples).)\n\n2. In the **Workspace** window, right-click your newly created .zip or .tar.gz file. \n3. Choose **Download** from the context menu. \n4. Follow your web browser's onscreen instructions to download that .zip or .tar.gz file to your local computer.\n\nWhen you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace).\n\n# See also \n\n* [Download and Upload Files](doc:download-files)","excerpt":"","slug":"downloading-files-to-your-computer","type":"basic","title":"Downloading Files to Your Computer"}

Downloading Files to Your Computer


In this phase, you download folders and files from the Cloud9 IDE to your local computer. Specifically, this topic shows you how to do one or more of the following: * Download all of the folders and files in your **Workspace** window as a single file. * Download an individual folder in your **Workspace** window as a single file. * Download folders and files that are not in your **Workspace** window. # To download all of the folders and files in your Workspace window as a single file With your Cloud9 workspace open, on the menu bar in the Cloud9 IDE, choose **File, Download Project**. Cloud9 takes all of the folders and files in your **Workspace** window (including hidden folders and files) and creates a single file from them. For Windows, this is a .zip file by default. For Mac and Linux, this is a .tar.gz file by default. Then follow your web browser's on-screen instructions to download that .zip or .tar.gz file to your local computer. [block:image] { "images": [ { "image": [ "https://files.readme.io/4debddc-ide-download-project.png", "ide-download-project.png", 307, 337, "#5a8fd3" ] } ] } [/block] :information-source: To change the default download file type, choose **Cloud9, Preferences, User Settings, Tree & Navigate, Download Files As**, and then choose the file type to use. When you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace). # To download an individual folder in your Workspace window as a single file Right-click that folder in your **Workspace** window, and then choose **Download** from the context menu. Cloud9 takes the folder you selected (including hidden subfolders) and creates a single file out of it. For Windows, this is a .zip file by default. For Mac and Linux, this is a .tar.gz file by default. Then follow your web browser's onscreen instructions to download that .zip or .tar.gz file to your local computer. [block:image] { "images": [ { "image": [ "https://files.readme.io/a371b50-ide-download-folder.png", "ide-download-folder.png", 276, 203, "#5b7cae" ] } ] } [/block] :information-source: To change the default download file type, choose **Cloud9, Preferences, User Settings, Tree & Navigate, Download Files As**, and then choose the file type to use. When you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace). # To download an individual file in your Workspace window as a single file Right-click that file in your **Workspace** window, and then choose **Download** from the context menu. Then follow your web browser's onscreen instructions to download that file to your local computer. [block:image] { "images": [ { "image": [ "https://files.readme.io/063bc80-ide-download-file.png", "ide-download-file.png", 283, 287, "#ae504b" ] } ] } [/block] When you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace). # To download folders and files that are not in your Workspace window In a terminal session in the Cloud9 IDE, do the following: 1. Use a built-in utility such as [zip](https://www.computerhope.com/unix/zip.htm) to create a .zip file, or a built-in utility such as [tar](https://www.computerhope.com/unix/utar.htm) to create a .tar.gz file, that contains all of the other folders and files you want to get. Store that .zip or .tar.gz file in the home directory of your workspace. For example, to add the folder at **/var/www/html** to a file named **website.zip** in the **~/workspace** directory: [block:code] { "codes": [ { "code": "zip ~/workspace/website.zip -r /var/www/html", "language": "shell" } ] } [/block] (See more [zip examples](https://www.computerhope.com/unix/zip.htm#examples).) Or to add the folder at **/var/www/html** to a file named **website.tar.gz** in the **~/workspace** directory: [block:code] { "codes": [ { "code": "tar -czvf ~/workspace/website.tar.gz /var/www/html", "language": "shell" } ] } [/block] (See more [tar examples](https://www.computerhope.com/unix/utar.htm#examples).) 2. In the **Workspace** window, right-click your newly created .zip or .tar.gz file. 3. Choose **Download** from the context menu. 4. Follow your web browser's onscreen instructions to download that .zip or .tar.gz file to your local computer. When you're done, [return to the migration checklist](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace). # See also * [Download and Upload Files](doc:download-files)