{"id":281,"date":"2021-04-16T10:47:12","date_gmt":"2021-04-16T14:47:12","guid":{"rendered":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/?p=281"},"modified":"2022-12-16T10:51:08","modified_gmt":"2022-12-16T15:51:08","slug":"easily-uploading-files-to-wordpress","status":"publish","type":"post","link":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/2021\/04\/16\/easily-uploading-files-to-wordpress\/","title":{"rendered":"\u2610 Easily uploading files to WordPress?"},"content":{"rendered":"<p>I need a way to easily upload files to WordPress. Currently, whenever I want to upload a program to my website (e.g., to the Synetech sub-blog) to link to, I have to go through a frustrating process of using an FTP program to upload it to a secondary account, then using an SSH program to change the file&#8217;s owner to <tt>www-data<\/tt>, then move it to the web-server&#8217;s data directory. It&#8217;s a real pain, especially if I have to do it a few times.<\/p>\n<p>Surely there&#8217;s an easier way, surely there must be a way to upload it directly to <tt>\/var\/www\/html\/...<\/tt> with the <tt>www-data<\/tt> owner tag set.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I need a way to easily upload files to WordPress. Currently, whenever I want to upload a program to my website (e.g., to the Synetech sub-blog) to link to, I have to go through a frustrating process of using an FTP program to upload it to a secondary account, then using an SSH program to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":0,"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"wp:attachment":[{"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/synetech.ddns.net\/blogs\/erklarenmir\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}