Introduction

Have you ever experienced the following inconveniences when uploading media to the WordPress media library?

1. The file size is too big and cannot be uploaded.
2. The date and time cannot be set when uploading.
3. A folder cannot be specified when uploading.
4. A category cannot be specified when uploading.
5. Exif information cannot be inserted into the caption when uploading.
6. Files cannot be uploaded in constant intervals.
7. Uploading through command line is not possible.

Media from FTP is a WordPress plugin that was developed to solve the above problems.

The functions to make 1-3 possible are included in the basic version. 4-7 can be made possible by purchasing an add-on that is sold on this site.

Add Media from FTP into your arsenal. It will surely help you be more productive with your time.

How to Use

Using your FTP software, copy your media file to the server’s wp-content/uploads directory or below it. When you “search and upload” using Media from FTP, files that have not been uploaded to the media library will be displayed. Files that have the same name as those in the media library will be excluded. Choose your file and select “upload”. Please watch the tutorial video below.

== Tutorial Video ==

Major Functions and Traits

Basic Functions

1. Upload big sized files.
2. Upload large quantities of files without experiencing timeout.
3. Specify a date and time when uploading.
4. Upload according to the file’s date and time.
5. Upload according to the date and time specified in the file’s Exif information.
6. A folder can be specified when uploading.
7. Create a log.
8. When there are too many files, limit the number of files in the search.

Add-On Functions

1. Specify a category when uploading.
Media from FTP Add On Category

2. Add the Exif information to the media caption when uploading.
Media from FTP Add On Exif

  • The Exif will be added to the caption when uploading media.
  • Each Exif data will be sorted to its appropriate position and inserted into the caption as text.

3. Upload in constant intervals.
Media from FTP Add On Wp Cron

  • Start multiple Cron events through multiple settings.
  • You can add intervals in the schedule.

4. Upload through command line.
Media from FTP Add On Commandline

  • Execution through command line is supported.(lib/mediafromftpcmd.php)

FAQ

Installation Instructions

  1. Upload media-from-ftp directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

A server error is displayed because there are too many files. “Search & Register” screen does not appear.

  • Media from FTP Settings -> Other -> Limit number of search files
  • Please reduce this number.
  • Media from FTP Settings -> Other -> Execution time
  • Please increasing the number of seconds.
  • Media from FTP Search & Register -> Screen Options -> Search method of files
  • Check of “Search files only for specified directories.”

Certain file types can not be searched.

  • If you want to add the mime type that can be used in the media library to each file type, Please use the Mime Types Plus.

I will not find a file with name like this: a-b-0x0.jpg.

  • Media from FTP Search & Register -> Screen Options -> Search method for the exclusion of the thumbnail
  • Check of “Unusual selection. if you want to search for filename that contains such -0x0. It is low speed.”

Where is it better to upload files?

  • Upload directory is any of the following locations.
  • Single-site wp-content/uploads
  • Multisite wp-content/uploads/sites/*

I want to register file for any folder.

  • Media from FTP Settings -> Register -> Date.
  • Uncheck of “Organize my uploads into month- and year-based folders”.

I want to register file to “month- and year-based folders” without relevant to the timestamp of the file.

  • Media from FTP Settings -> Register -> Date.
  • Uncheck of “Organize my uploads into month- and year-based folders”.

File at the time of registration is moved to another directory.

  • If checked “Organize my uploads into month- and year-based folders”, it will move the file at the time of registration to year month-based folders. If you want to register in the same directory, Please uncheck.

The original file is deleted.

  • The case of the following of this plugin to delete the file.
  1. If it contains spaces in the file name. Convert to “-“. And remove original file. image example.jpg -> image-example.jpg
  2. If the file name is a multi-byte. It makes the MD5 conversion. And remove original file. image例.jpg -> 2edd9ad56212ce13a39f25b429b09012.jpg
  3. If checked “Organize my uploads into month- and year-based folders”, it copy the file to the “month- and year-based folder” and then delete the original file. wp-content/uploads/sites/2/image-example.jpg -> wp-content/uploads/sites/2/2015/09/image-example.jpg
* Thumbnail creation, database registration, do in file after copy.

The original file is deleted, it will be the one that has been added to eight characters to the end of the file.

  • When find the same file name in the media library in order to avoid duplication of the file, adds the date and time, minute, and second at the time it was registered in the end.
  • image-example.jpg -> image-example03193845.jpg
  • Meaning 03193845 -> 3rd 19h38m45s

‘Fatal error: Maximum execution time of ** seconds exceeded.’ get an error message.

  • Media from FTP Settings -> Other -> Execution time
  • Please increasing the number of seconds.

I want to change the date at the time of registration.

  • Media from FTP Settings -> Register -> Date -> Get the date/time of the file, and updated based on it. Change it if necessary.
  • Please checked.

I want to register at the date of the Exif information.

  • Media from FTP Settings -> Register -> Date -> Get the date/time of the file, and updated based on it. Change it if necessary.Get by priority if there is date and time of the Exif information.
  • Please checked.

I would like to hide the files do not need to search & registration screen.

  • Media from FTP Search & Register -> Screen Options -> Exclude file
  • Please enter the exclusion file. It can be a regular expression.

I want to turn off the creation of additional images such as thumbnail.

  • It conforms to the WordPress settings.
  • Settings-> Media
  • Please change the six values to all zeros.
  • Please comment out the ‘set_post_thumbnail_size’ or ‘add_image_size’ of theme’s functions.php.

Screenshots