{"id":352,"date":"2008-07-16T16:25:10","date_gmt":"2008-07-16T14:25:10","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/?p=352"},"modified":"2008-07-16T16:25:10","modified_gmt":"2008-07-16T14:25:10","slug":"this-file-came-from-another-computer-well-doh","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2008\/07\/16\/this-file-came-from-another-computer-well-doh\/","title":{"rendered":"This file came from another computer&#8230;. Well doh!"},"content":{"rendered":"<p>The other day I wanted to copy xhtml templates, images and javascript files from my colleagues computer (xp) to my own (xp) to make a new repository for a project we were working on. <\/p>\n<p><img loading=\"lazy\" src=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2008\/07\/this_file_came_error.jpg\" alt=\"\" title=\"this_file_came_error\" width=\"309\" height=\"139\" align=\"right\" \/><\/p>\n<p>Nothing unusual here except the fact I was forbidden by his xp to copy any .js file with error similar to permissions problem. I walked to his computer and checked permissions and everything was ok with them. But, rightclicking one of .js files brought interesting message: &#8220;<strong>This file came from another computer and might be blocked to help protect this computer<\/strong>&#8220;.<\/p>\n<p><a href=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2008\/07\/this_file_came.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2008\/07\/this_file_came.jpg\" alt=\"\" title=\"this_file_came\" width=\"364\" height=\"505\" class=\"alignnone size-medium wp-image-353\" \/><\/a><\/p>\n<p>Right of the message you can see a big <strong>Unblock<\/strong> button, which actually doesn&#8217;t do anything. After &#8220;unblocking&#8221; I was still unable to copy them. This situation occurs only if you have XP SP2+ and use IE to download files because IE tags the file with an additional &#8220;NTFS Stream&#8221; of information.<\/p>\n<p>There are few possible hacks how to disable this annoyance slash security feature:<\/p>\n<ol>\n<li>unblock the file, then copy it to FAT32 partition, and then move it back to NTFS.<\/li>\n<li>Disable NTFS Streams with <a href=\"http:\/\/darrenmyher.spaces.live.com\/blog\/cns!1ABA4CA6583AB317!152.entry\">SysInternals Streams utility<\/a> (mega haxor)<\/li>\n<li>User Configuration > Administrative Templates > Windows Components > Attachment Manager. Enable: Do not preserve zone information in file attachments (only works for new files)<\/li>\n<li>Just stop using IE! :)<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The other day I wanted to copy xhtml templates, images and javascript files from my colleagues computer (xp) to my own (xp) to make a new repository for a project we were working on. Nothing unusual here except the fact I was forbidden by his xp to copy any .js file with error similar to&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/352"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":10,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":364,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions\/364"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}