{"id":204,"date":"2007-07-25T11:00:02","date_gmt":"2007-07-25T15:00:02","guid":{"rendered":"http:\/\/www.callblog.net\/?p=204"},"modified":"2025-10-17T13:13:21","modified_gmt":"2025-10-17T17:13:21","slug":"transmits-destructive-replace-function","status":"publish","type":"post","link":"http:\/\/callblog.net\/blog\/post\/transmits-destructive-replace-function","title":{"rendered":"Transmit&#8217;s destructive &#8220;replace&#8221; function"},"content":{"rendered":"<p>I recently upgraded my <a href=\"http:\/\/wordpress.org\/\">WordPress<\/a> installation (it was way way <strong>way<\/strong> out of date) and I thought it was weird that my old plugins weren&#8217;t showing up after the upgrade.  It turns out that when I tell <a href=\"http:\/\/www.panic.com\/transmit\/\">Transmit<\/a>, the most convenient mac ftp application that I&#8217;ve found to date, to replace a folder, it deletes the old one and replaces all of it&#8217;s contents with the folder I&#8217;m uploading.  This makes perfect sense in terms of the english language, but it&#8217;s not at all how I expect things to work based on years of ftp experience.  In Transmit, if I want leave subfolders and files that aren&#8217;t on my local copy, I have to choose <em>merge<\/em>.  Lesson: be careful with &#8220;apply to all&#8221; check boxes when playing with new software.<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/thibeault\/895518789\/\" title=\"Photo Sharing\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm2.static.flickr.com\/1111\/895518789_0a2923f692.jpg\" width=\"450\" height=\"257\" alt=\"Transmit's Replace option is destructive\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently upgraded my WordPress installation (it was way way way out of date) and I thought it was weird that my old plugins weren&#8217;t showing up after the upgrade. It turns out that when I tell Transmit, the most convenient mac ftp application that I&#8217;ve found to date, to replace a folder, it deletes [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,6],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-mac","category-technology"],"_links":{"self":[{"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":1,"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":780,"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/posts\/204\/revisions\/780"}],"wp:attachment":[{"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/callblog.net\/blog\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}