Hacklog Remote Attachment Plugin
Adds remote attachments support for your WordPress blog.
Features: Adds remote attachments support for your WordPress blog.
use this plugin, you can upload any files to remote ftp servers(be aware that your FTP server must has Apache or other HTTP server daemon) in WordPress.
- Support both single user site AND multisite.
- support upload files to remote FTP server.
- support delete files on remote FTP server.
- works just like the files are saved on your local server-_-.
- with this plugin,you can move all your local server files to remote server.
- after you’ve uninstall this plugin,you can move remote server files to local server if you’d like to do so.
For MORE information,please visit the plugin homepage for any questions about the plugin.
installation guide
更多信息请访问插件主页 获取关于插件的更多信息,使用技巧等.
安装指导
Installation
- Upload the whole fold
hacklog-remote-attachment
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin via
Settings
-> Hacklog Remote Attachment
menu and it’s OK now,you can upload attachments(iamges,videos,audio,etc.) to the remote FTP server. - If your have moved all your local server files to remote server,then you can
UPDATE THE DATABASE
so that all your attachments URLs will be OK.
You can visit plugin homepage for detailed installation guide.
Screenshots
screenshot-1.png
screenshot-2.png
FAQ
FAQ
Installation Instructions
- Upload the whole fold
hacklog-remote-attachment
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin via
Settings
-> Hacklog Remote Attachment
menu and it’s OK now,you can upload attachments(iamges,videos,audio,etc.) to the remote FTP server. - If your have moved all your local server files to remote server,then you can
UPDATE THE DATABASE
so that all your attachments URLs will be OK.
You can visit plugin homepage for detailed installation guide.
Changelog
1.3.1
- fixed: thumbnail srcset url with WP 4.5+
1.3.0
- fixed: edit or crop image is working correctly now.
1.2.8
- fixed: compatibility with PHP version above 5.3.x ,to avoid PHP complains “Fatal error: Call-time pass-by-reference has been removed in hacklogra.class.php on line 539”.
1.2.7
- fixed: Windows Live Writer file uploading bug(url incorrect).
1.2.6
- added: xmlrpc support (when use Windows Live Writer or other client via xmlrpc upload attahcment,the attachment will auto uploaded to remote FTP server )
1.2.5
- fixed: tools– “You do not have permission to do this” error.
- fixed: wp_delete_file HOOK should return a value (string)
1.2.4
- added: duplicated thumbnail filename (this things may happen when crop is TRUE)
1.2.3
- improved: encrypt FTP password and then store it to the DB
- improved: support connect with both php FTP module and php socket API
1.2.2
- fixed: DO NOT delete the options when the plugin is deactivating.
1.2.1
- fixed the bug when uploading new theme or plugin this plugin may cause it to fail.
1.2.0
- fixed: use new WP_Screen API to display help information
- improved: check FTP connection in the
Plugins
page - fixed: added duplicated file checking,so that the existed remote files will not be overwrote.
1.1.6
- fixed: changed upload file permission to 0644 ,changed created directory permission to 0755
- fixed: get the right subdir when the post publish date was different from the media upload date.
1.1.5
- fixed: when no thumbnails,do not run foreach in function upload_images
1.1.4
- changed remote path to FTP remote path and added HTTP remote path to support the mapping relationship between FTP remote path and HTTP remote path
- fixed:when connection failed,delete the file on local server.
1.1.3
- fixed a bug(when remote path is root directory of FTP server)
- added FTP connection timeout option
- added FTP connection error message returning
1.1.1
- fixed a bug,when uploading a non-image file the image upload handler will handle the non-image file. (bug bring in version 1.1.0)
1.1.2
- fixed a bug in public static function upload_images(bug bring in version 1.1.1)
1.1.0
- handle image file in the later(in HOOK wp_generate_attachment_metadata) for compatibility with watermark plugins
- removed the scheduled hook,now delete the orig image file just after uploaded.
1.0.2
- added: remote direcotry auto-make functions.If the remote dir does not exists,the plugin will try to make it.
- added: put index.html to disable directory browsing
1.0.1
- fixed a small bug(cron delete).
1.0.0
- released the first version.