Pages

Search This Blog

Wednesday, March 5, 2014

Download file from google drive directly from google drive without visit the page

Trying to make my file that already uploaded in Google Drive auto download without visit the page https://docs.google.com/file/d/0BxK6LimLvhcvQ2JUSXQzLXdtUzg and click on the download button.



Many suggest that https://docs.google.com/uc?export=download&id=fileID can work where fileID in my case is 0BxK6LimLvhcvQ2JUSXQzLXdtUzg 


I've tried to use https://docs.google.com/uc?export=download&id=0BxK6LimLvhcvQ2JUSXQzLXdtUzg but won't download automatically but it will stay and request user to click on the confirm download link. Maybe it's because the file exceeded certain file size.



There is another way which is working well https://googledrive.com/host/0BxK6LimLvhcvQ2JUSXQzLXdtUzg but the problem is the downloaded file name is the file id name


Sunday, March 2, 2014

Unable to create directory wp-content/uploads/. Is its parent directory writable by the server?

I've upload and setup wordpress in windows server 2008 R2 using IIS. After successfully setup this application.

Facing error "Unable to create directory wp-content/uploads/2014/03. Is its parent directory writable by the server?". Prior to that, there are already some setting have been done, please check http://dotnetfish.blogspot.com/2013/10/error-message-500-internal-server-error.html


How to solve the problem? When upload the file to wordpress, the file will save into upload folder inside wp-content. What i do is add a modify permission to user IUSR and apply the setting to child folder as well.


After done the setting, problem solved.