• Resolved appvirtual007

    (@appvirtual007)


    Hello,

    Thanks you for your great plugin. i want to ask how to display file size type apk/app when downloading from remote file using your plugin. because the file size is unknown.

    I use subdomain using storage like s3. if I don’t use your plugin the file size is visible when downloading

    have tried editing and adding code in /inc/functions-core.php for Remote file headers but it doesn’t work. like header (‘Content-Length:’. filesize($file_path)); .can you help me? thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help.

    It is not a current feature of the plugin, not sure if there is any way to do it.

    If you have any working code, I can definitely take a look and see about maybe implementing in a future update.

    Thread Starter appvirtual007

    (@appvirtual007)

    Thank you for the answer. Does this mean that currently it’s not possible to display the file size when downloading type file remote?

    If the above method doesn’t work, I hope this question can be answered, how to make the permalink link redirect to the original link (like a short url redirect to original url). Your plugin is only used to count the number of download clicks. I hope you can help me. to make the permalink display the original URL link.

    Plugin Author Jeff Starr

    (@specialk)

    Correct, remote file sizes are not currently calculated by the plugin.

    For the other question, I honestly don’t know.. maybe it can be done using redirection at the server level..? And/or maybe there is a “redirection” type plugin that can help. And you mention “short url”, it may be possible via that route as well, using something like Yourls or similar.

    Again these are just ideas, hopefully they can give you some clues.

    Plugin Author Jeff Starr

    (@specialk)

    Hey @appvirtual007, I hope you got this sorted. It’s been a while with no reply so gonna go ahead and mark this thread as resolved to help keep the forum organized. Feel free to post again with any further questions or feedback, Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.