Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hi michaelroper,

    I do not understand.
    Would you want to run the “Media from FTP” in cron?
    Thank you a little more detail.

    Thread Starter michaelroper

    (@michaelroper)

    Hi Katsushi,

    I have files that are regularly uploaded to my server by FTP, and I would like to have them automatically registered in to the Media Library for my users to access from WordPress, without me having to go in to your plugin screen and select the unregistered files to be added. Ideally, this would happen automatically on a regular timeframe (hourly, nightly?) – can you think of any way that i could achieve this?

    I mentioned using a cron plugin, because I have previously seen examples of other plugins having their functions run that way, to do things like process a backup, etc?

    Thanks,
    Michael

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hi michaelroper,

    In version 3.0 and later, I think try to the cron.
    Please be patient.

    Thread Starter michaelroper

    (@michaelroper)

    Hi Katsushi,

    Thank you SO much for the schedule feature, it works perfectly!
    Your fast work was very appreciated. ??

    Thanks,
    Michael

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hi michaelroper,

    In version 4.3 and later, Supported Command line.
    “mediafromftpcmd.php” can be set to the server cron.

    Hi Katsushi,
    After installing version 6.3 of media from ftp (which I really like) – I am stuck after activating it – it never gets off the 1st page – just keeps the circle in the middle of the screen running. The page is the one with the list of the links to “Search and Register”, “Settings”, “Exclude File”, “Schedule”, “Command-line”, and “Donate to this plugin”. Would this be perhaps a java compatibility problem? I’m running WordPress 4.2.1. I’m at a loss. I thought maybe network traffic was bogging it down — stepped away for > 1 hr. and still the page had not loaded.
    Any thoughts?

    Just an FYI, the 6.2 version is working just fine one a site using WP 4.1.4

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hi BLJeffery,

    If you do not want to hide the loading circle is,
    Please comment out the rec/MediaFromFtp.php line 146.

    146: <-- <div id = "mediafromftp-loading"><img src = "<?php echo MEDIAFROMFTP_PLUGIN_URL.'/css/loading.gif'; ?>"></div>
    -->

    Problem is I feel like another.
    Media from Ftp creates a cache. Please try to delete the wp-content/uploads/media-from-ftp-tmp.

    Thanks for the tips, I’m not looking to hide the loading circle – I just want it to load. It never does. I cleared cache, deleted the tmp folder as you suggested but the problem persists. I can’t tell if this is a performance issue on the server but I don’t think so as I don’t have any other of this type of issue.
    Regards,
    Betsy Jeffery

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    147 line and 504 line also please try to comment out.
    If there is an error you should see an error message.

    147: <-- <div id="mediafromftp-loading-container"> -->
    504: <-- </div> -->

    Do you mean /wp-content/plugins/media-from-ftp/mediafromftp.php? If so, the one I have only goes to line 72.

    Katsushi, I think you meant the lines in
    /wp-content/plugins/media-from-ftp/req/MediaFromFtpAdmin.php

    does that sound better? That’s where I see the code. I’ll comment out as you suggested and let you know.

    Well, I made the changes and it didn’t change anything. I put the file back to it’s original. I deactivated all other plugins in case there was an incompatible mix. That did not change the behavior either.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Hi, BLJeffery

    I do not understand.

    When such trouble occurs, it is inconvenient when the setting screen and search registration screen is together. In the next version, it plans to separate the screen.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Automatically register uploaded files on schedule’ is closed to new replies.