{"id":766,"date":"2013-01-31T17:52:02","date_gmt":"2013-01-31T17:52:02","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=766"},"modified":"2019-05-07T13:30:31","modified_gmt":"2019-05-07T13:30:31","slug":"transfering-files-from-windows-pcs","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/software_utilities\/file-sharing\/transfering-files-from-windows-pcs","title":{"rendered":"WinSCP-Transfering Files From Windows PC&#8217;s"},"content":{"rendered":"<h4>WinSCP<\/h4>\n<p>To avoid having to use a USB stick to transfer files from your windows machine to your Raspberry Pi use WinSCP<\/p>\n<p>Get WinSCP from <a href=\"http:\/\/winscp.net\/eng\/download.php\">here<\/a>\u00a0and install it.<\/p>\n<p>When it opens setup the following:<\/p>\n<p>Session<\/p>\n<p style=\"margin-left: 40px;\">File Protocol: SCP<br \/>\nHost name: The IP address of you\u00a0Raspberry Pi<br \/>\nUser name: pi<br \/>\nPassword: raspberry<\/p>\n<p>Advanced &gt; SCP \/Shell<\/p>\n<p style=\"margin-left: 40px;\">Shell: sudo su &#8211; (if you want to be able to write to protected directories, e.g. \/var\/ww\/ to transfer files for apache web server)<\/p>\n<p>That&#8217;s it, connect and you can transfer files just by dragging and dropping.<\/p>\n<h5>To save your setup<\/h5>\n<p>Menu &gt; Session &gt; Save Session<\/p>\n<h5>View Hidden Files<\/h5>\n<p>Options &gt; Preferences &gt; Panels &gt; Show Hidden Files<\/p>\n<h5>Setting A File As Executable<\/h5>\n<p>Right click the file, properties and check the &#8216;X&#8217; box for the &#8216;Owner&#8217; permissions<\/p>\n<h4><strong>Permissions &#8211; READ THIS!!!<\/strong><\/h4>\n<p>If you set the user as root when using WinSCP and the copy files onto the RPi, they will be stored as owned by user root. \u00a0This means if you try and alter them logging in as the default pi user you won&#8217;t have permission to. Remember this! \u00a0Log in as root user when you need to (for instance when needing to copy html files in for apache if you&#8217;ve not setup another user with root privileges) but log in as your default pi user when copying over general files you want to be able to use on the RPI without needing to use sudo from the command line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WinSCP To avoid having to use a USB stick to transfer files from your windows machine to your Raspberry Pi use WinSCP Get WinSCP from here\u00a0and install it. When it opens setup the following: Session File Protocol: SCP Host name: The IP address of you\u00a0Raspberry Pi User name: pi Password: raspberry Advanced &gt; SCP \/Shell [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121],"tags":[],"class_list":["post-766","post","type-post","status-publish","format-standard","hentry","category-file-sharing"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=766"}],"version-history":[{"count":6,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/766\/revisions"}],"predecessor-version":[{"id":3058,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/766\/revisions\/3058"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}