{"id":193,"date":"2020-09-20T20:39:38","date_gmt":"2020-09-20T20:39:38","guid":{"rendered":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/?page_id=193"},"modified":"2020-09-21T05:16:31","modified_gmt":"2020-09-21T05:16:31","slug":"data-transfer","status":"publish","type":"page","link":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/data-transfer\/","title":{"rendered":"Data transfer"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li><strong>File transfer with <em>scp<\/em><\/strong><\/li><\/ul>\n\n\n\n<p>For MacOS, Linux, and later Windows users, file transferring between your personal computer and the RSPH HPC supercomputers can be achieved through the command&nbsp;<em><code>scp<\/code>&nbsp;<\/em>which stands for secure copy. This method is ideal for quick transfer of smaller files.<\/p>\n\n\n\n<p>Just like the&nbsp;<em><code>cp<\/code>&nbsp;<\/em>copy command, the&nbsp;<em><code>scp<\/code>&nbsp;<\/em>command requires two arguments, the path to the source file(s) and the path to the target location. Since one or more of these locations are remote, you will need to specify the username and host for those.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp &lt;username&gt;@&lt;host&gt;:&lt;path_to_files&gt; &lt;username&gt;@&lt;host&gt;:&lt;path_to_files&gt;<\/code><\/pre>\n\n\n\n<p>For the local location, you do not need to specify the username or host.\u00a0<span style=\"color:#cf2e2e\" class=\"tadv-color\">When transferring to and from your local computer, the\u00a0<em><code>scp<\/code>\u00a0<\/em>command should be run on your computer, NOT from RSPH HPC clusters.<\/span><\/p>\n\n\n\n<p>Example, upload a file named &#8216;data.csv&#8217; from your local computer to the cluster \/home directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp .\/data.csv jzhan61@clogin01.sph.emory.edu:\/home\/jzhan61<\/code><\/pre>\n\n\n\n<p>Download a file named &#8216;data.csv&#8217; from cluster \/home directory to local computer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp jzhan61@clogin01.sph.emory.edu:\/home\/jzhan61\/data.csv .\/<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>File transfer with FileZilla<\/strong><\/li><\/ul>\n\n\n\n<p>FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface. <span style=\"color:#cf2e2e\" class=\"tadv-color\">It is cross-platform and runs on Windows, Linux, *BSD, Mac OS X and more.<\/span> Download FileZilla from this <a rel=\"noreferrer noopener\" href=\"https:\/\/filezilla-project.org\/download.php\" data-type=\"URL\" data-id=\"https:\/\/filezilla-project.org\/download.php\" target=\"_blank\">link<\/a>.<\/p>\n\n\n\n<p>The FileZilla interface is shown below. After filling in <em>Host<\/em> (clogin01.sph.emory.edu), <em>Username<\/em>, <em>Password <\/em>and <em>Port<\/em> (22), click on <em>Quickconnect<\/em>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"89\" src=\"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/files\/2020\/09\/1-2.png\" alt=\"\" class=\"wp-image-201\" srcset=\"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/files\/2020\/09\/1-2.png 737w, https:\/\/scholarblogs.emory.edu\/rsph-hpc\/files\/2020\/09\/1-2-300x36.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/figure>\n\n\n\n<p>After login, you can drag and drop files between your local computer and the cluster. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>File transfer with scp For MacOS, Linux, and later Windows users, file transferring between your personal computer and the RSPH HPC supercomputers can be achieved through the command&nbsp;scp&nbsp;which stands for secure copy. This method is ideal for quick transfer of smaller files. Just like the&nbsp;cp&nbsp;copy command, the&nbsp;scp&nbsp;command requires two arguments, the path to the source &#8230; <a title=\"Data transfer\" class=\"read-more\" href=\"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/data-transfer\/\" aria-label=\"Read more about Data transfer\">Read more<\/a><\/p>\n","protected":false},"author":7027,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-193","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/users\/7027"}],"replies":[{"embeddable":true,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":9,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages\/193\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/pages\/193\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/scholarblogs.emory.edu\/rsph-hpc\/wp-json\/wp\/v2\/media?parent=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}