{"id":9642554,"date":"2017-11-01T22:59:39","date_gmt":"2017-11-01T22:59:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/illegal-port-command\/"},"modified":"2017-11-01T22:59:39","modified_gmt":"2017-11-01T22:59:39","slug":"illegal-port-command","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/illegal-port-command\/","title":{"rendered":"Illegal PORT command"},"content":{"rendered":"<p>When trying to use a CDN via FTP, we get the following error:<\/p>\n<p>Error: Unable to upload file: \/var\/www\/html\/wp-content\/cache\/tmp\/test_file_195c0b1f54a334929e2aae73f5dee456 (ftp_put(): Illegal PORT command.).<\/p>\n<p>Based on some posts, that would be fixed by enabling &#8220;Use passive FTP mode&#8221; or modifying one of the files to always use PASV mode. Neither of these options has seemed to work.<\/p>\n<p>Any workaround for this? Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-9642554","topic","type-topic","status-publish","hentry","topic-tag-cdn","topic-tag-ftp"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9642554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9642554\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9642554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}