wordpress plugin to upload file directly to amazon s3 - wordpress

hello i am trying to do this
i need to integrate a wordpress plugin so that when user uploads any video to my wordpress site it directly uploads to amazon s3 and when i need to use that video it gives me the url or automatically redirect to amazon to load the video
when user enters a url then the file uploads to local server and then immediately uploaded to s3 and the file is removed form my server, it is because the amazons3 do not allow remote files to be uploaded directly
ok for all of this is there any plugin? i found some but they allow this form there own interfaces but i need to do is when ever file is uploaded it directly goes to s3 and no other operation is needed to do this
if no plugin then please any tutorial for how to do this will be helpfull
it should be fully integrated with my wordpress theme
regards

This plugin will do the job http://wordpress.org/extend/plugins/tantan-s3/ for any uploads.
If you want to upload theme files to s3 you need to do that manually.

There is this plugin here: http://codecanyon.net/item/wordpress-aws-s3-browser/6470423 chekcout the live demo, I think it does what you need:
Demo: http://www.awss3.redwanhilali.net/?page_id=5#

this plugin can do the work for you perfectly.
http://wordpress.org/extend/plugins/download-monitor/

Related

upload files in Godaddy cpanel, then create download link in WordPress. Possible?

I want to upload some video files in a GoDaddy cpanel folder, then create a downloadable link in a webpage and source it to that folder. I am assuming WordPress does not communicate with other folders in cpanel.
I am also getting this error
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.
my
Maximum upload file size: 1 GB. I changed the configuration.
GoDaddy Rep suggested to optimize files and upload it inside WP.
Found it LOL
You can link to a file on your host (in my case GoDaddy).
The file path will be:
http://www.YourSiteName.com/TheFolderName/FileName
Then you just create the link and use that path in WordPress web page Download Link.
The other upload issue is being fixed by GoDaddy engineers. Cheers

prevent website files from being downloaded from direct URL

I have a site in Wordpress that has a PDF link for download that is currently on a password protected page. I am wondering how I can prevent that PDF from being downloaded if someone happens to get the direct file path url for that PDF. Is there maybe a plugin that would help? The site is on AWS so I can't change the .htaccess file as I've seen most people suggest.
The standard approach with AWS is to host your files on S3 and use S3 PreSigned URLs with an expiration.
From your protected by password pages, generated presigned urls in place of the regular download link. Then protect your S3 bucket by making it NOT public. The presigned url will be required to download the file.
A Google search will turn up lots of examples with source code on how to do this. Very easy to do.
Creating a presigned request

CMB2 Image link not changed when server changed

I use CMB2 for metabox on wordpress. When I use file_list or file for media upload in CMB2. I am working a self setup local server.When I upload wordpress site on another server image link are not automatically changed. so that its takes so much time.
Needed to know how you move local to live server. Did you replaced old URL to new URL? You can use Duplicator WordPress plugin for move WP site. Also you can replace manually on SQL file. You can use this tool too.

cloudControl automaticlly deletes Wordpress files

I successfully deployed my Wordpress app on cloudControl. However, I realised that whenever I upload an image, no matter how small, I dont get to see the image after some hours. Please what could be wrong?
The problem is the non persitant file system.
As described here:
https://www.cloudcontrol.com/dev-center/Platform%20Documentation#non-persistent-filesystem
For Wordpress you have to use a plugin which stores image files on a remote system like Amazon S3. For me it worked fine with
Amazon S3 for WordPress
By the way: the same for E-Mails you can use sendgrid with the sendgrid plugin.

Migrating Wordpress including Widgets and Media Files

I have created a wordpress website on the localhost and want to migrate it to the clients server. How can i shift the content, images (media) and the theme and its widgets.
Hope i dont have to recreate all that on the website all over again :D
BackupBuddy is probably the most efficient and easiest way. Here's the URL: BackupBuddy
Plenty of documentation and the plugin basically does everything for you.
Review the Wordpress Codex on this issue for details and various Tools that can help you.
Make sure that your theme and widgets are not referencing the old domain directly. If this is a theme/plugin/widget of your own making, you should be aware that Wordpress has Various Functions that reference the URL of your Wordpress installation.
You need to do a few things:
Install WP Migrate DB http://wordpress.org/extend/plugins/wp-migrate-db/ and use it to export the DB as a gzip file
Upload all the Wordpress files to the server modifying wp-config.php to match the client's MySql server. If WP is already installed, upload only what's in wp-content
Access the client's MySql server (normally through phpMyAdmin) and import the gzip file that contains your DB
To get the server path on the client's server (WP Migrate DB will ask for it) use this php snippet from the site's / :
<?php print_r(__DIR__) ?>
That should be it.
Cheers.

Resources