Also cloud hosting have useful API's. If you have a cloud account with hosting and asset server you can use the cloud's API to store/move files to the asset/CDN server. Loads of benefits including if your apache (or what ever) freezes the server the database and other services are going to keep going.