admin管理员组文章数量:1122846
I'm using WordPress to upload videos. I have to use WordPress to upload the videos, because they need to remain past a password protected side of the website.
I have access to the WordPress content folders, so I can move media in and out from the folders, and it would be reflective on the WordPress (basically FTP).
Currently, my upload limit is 200MB, and I'm having trouble uploading anything past about 30MBs. I'm getting an HTTP error.
I have the larger video files now sitting in wp-content/.../2017/08
where all my other uploads are, and the videos are not populating into WordPress Dashboard area.
Any ideas on how to get this successfully into WordPress?
I'm using WordPress to upload videos. I have to use WordPress to upload the videos, because they need to remain past a password protected side of the website.
I have access to the WordPress content folders, so I can move media in and out from the folders, and it would be reflective on the WordPress (basically FTP).
Currently, my upload limit is 200MB, and I'm having trouble uploading anything past about 30MBs. I'm getting an HTTP error.
I have the larger video files now sitting in wp-content/.../2017/08
where all my other uploads are, and the videos are not populating into WordPress Dashboard area.
Any ideas on how to get this successfully into WordPress?
Share Improve this question edited Aug 23, 2017 at 19:29 Johansson 15.4k11 gold badges43 silver badges79 bronze badges asked Aug 23, 2017 at 14:13 RobertRobert 11 bronze badge 2 |1 Answer
Reset to default 1WordPress doesn't process uploaded files directly from file system, it stores information about them as attachments in database.
If you need to turn a directly uploaded file into an attachment the term for it would be a sideload. There are some API functions in WP to help with the task, starting with media_handle_sideload()
.
Also note that none of WordPress is designed to function from private location on web server. Uploads folder is typically public, as is everything in it (knowing URLs to files).
本文标签: uploadsWhat folder to place Large Video files
版权声明:本文标题:uploads - What folder to place Large Video files? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736304208a1932153.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
attachment
in the database that are created on uploads. Otherwise large media libraries would be super slow with costly folder scans on every page load. As an aside, an unlisted youtube video will be just as secure as uplaading the video since anybody with the URL can download/watch the file – Tom J Nowell ♦ Commented Aug 23, 2017 at 14:36