Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lana Codes

    (@lanacodes)

    This may not be possible in the WordPress plugin. This is because “how would the plugin know which version is the latest”.
    The plugin has no connection to your hosting folder, it cannot parse the contents of the folder as it cannot see it. The plugin only sees the URL.

    There is one exception if your webhosting has folder listing enabled. In this case, when you enter the URL of the folder, it lists the files in it. But even in this case, a separate add-on and development would be needed for the plugin to parse the folder first, then download the file.

    What you think is a solution or option can be specified in your webhosting setting.
    So you can do a redirect to htaccess on your own webhosting so that if someone calls url/file.zip, they will redirect it to url/file-v2.zip.
    But you need to set this where the files are stored.

    I hope I could help, if you have any further questions, feel free to contact me.

    Thread Starter Lukasz Matysiewicz

    (@donbebeno)

    I have to look for htaccess redirection. thanks for advice

    Plugin Author Lana Codes

    (@lanacodes)

    You may also need a PHP file for a router with htaccess, but I think a freelancer programmer can easily solve it.

    Because htaccess rather static, and you may need a dynamic redirect based on the description.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Download newest version of file’ is closed to new replies.