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
  • 2 The media library doesn't list files in the uploads folder, it lists posts of type 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
  • In order to have the videos listed in the Media Manager, you need to upload them from there, not by FTP. – Fabio Marzocca Commented Aug 23, 2017 at 16:55
Add a comment  | 

1 Answer 1

Reset to default 1

WordPress 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