upload download (file system) (tag)
download_url() | Downloads a URL to a local temporary file using the WordPress HTTP Class. Please note, That the calling function must unlink() the file. |
media_handle_sideload() | Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload(). |
media_handle_upload() | Save a file submitted from a POST request and create an attachment post for it. |
media_sideload_image() | Downloads an image from the specified URL and attaches it to a post. |
size_format() | Convert number of bytes largest unit bytes will fit into. |
wp_check_filetype() | Retrieve the file type from the file name. |
wp_check_filetype_and_ext() | Attempts to determine the real file type of a file. |
wp_convert_hr_to_bytes() | Converts a shorthand byte value to an integer byte value. |
wp_get_upload_dir() | Retrieves uploads directory information. |
wp_handle_sideload() | Wrapper for _wp_handle_upload(). |
wp_handle_upload() | Wrapper for _wp_handle_upload(). |
wp_max_upload_size() | Determines the maximum upload size allowed in php.ini. |
wp_upload_bits() | Create a file in the upload folder with given content. |