Efficient Use Of Windows SkyDrive

30. August 2010 16:05

Microsoft  Windows Azure  4 Comments

If you are not using this free service offered by Microsoft, then stop reading and go to SkyDrive and sign in with your Live ID and get started. A whooping 25 GB of free space to put  all your stuff at one place, access anytime, and anywhere you want and just in case if you are aware, which I hope you already are, why I am mentioning about skydrive here? So, here is the case...

I uploaded some videos on my blog a few month ago, the files were physically hosted on my blog space and hogging a lot of space. I am now using SkyDrive since it final launch in August 2007 (if I am not wrong) and just gave a quick thought on hotlinking my files from SkyDrive to my blog. There are two big benefits of using SkyDrive for file hosting:

  1. Saves Web Space - In terms of any file you upload to your blog, it now get uploaded to SkyDrive and save your web space
  2. Saves Bandwidth - If you have a video or MP3 file host it on SkyDrive and set the hotlink in the player on your blog. The player just plays the files, just like embedding videos from YouTube or Channel9.

So how can you hotlink files from SkyDrive and use it for your purpose. Go to the folder where you have the file, it can be an image, video or a audio file. You will see something like the below. This is one of my publi folder where I have 2 images (funny).

Change the view style from Thumbnail to Details. By default for the folder having images the default view will be Thumbnails.

Now hover the mouse to the image you want to imbed or hotlink in your blog post or on a webpage. Click More and then right-click Download and select Copy Link Location. This will copy the download link on your clicb board and now you require some manual work on the link.

Open notepad and and paste the copied text. The link look something like this.

http://5mr9iq.bay.livefilestore.com/
y1pn6wH-ZKbNE3AMAGeZry5db0ukIQqy2ksda2ZHtegsxyJeeN1ufTs4AbT
-iyG2DnYpkLUFyPw5OnTpE_t7p_duRJ5wcVOHoC_/edin.jpg?download&psid=1

Just to hotlink the file remove the text starting from '?' till end (remove ?download&psid=1) and that's it, your image hotlink is ready and the final version of link looks like this:

http://5mr9iq.bay.livefilestore.com/y1pn6wH-
ZKbNE3AMAGeZry5db0ukIQqy2ksda2ZHtegsxyJeeN1ufTs4AbT-
iyG2DnYpkLUFyPw5OnTpE_t7p_duRJ5wcVOHoC_/edin.jpg

Below is the same image I have hotlinked from my SkyDrive account

The same can be done with videos. I have uploaded a video to my SkyDrive. Let's see how it look like on a Silverlight Player:

Moreover, if you take a look at the status bar of your IE or the browser you are using you will see that the data transfer is from livefilestore.com and not from yourdomain.com. This saves your bandwidth too!!!

This is not enough, now the question here is how can one upload files to SkyDrive, we can use the web interface provided by the SkyDrive.....!!? But how about using it as a network drive on your My Computer. You can download Gladient Cloud Desktop to map the SkyDrive or any other online service you are using to store your files, like Amazon S3 or Picasaweb to share photos.

UPDATE: Greg Duncan share his experience with SkyDrive with me. I recommend you to read it here.

Currently rated 4.5 by 2 people

Comments (4)

Greg Duncan Greg Duncan
8/31/2010 9:21:18 PM #

Unless something has changed on SkyDrive, you're going to want to be careful with this approach. I've tried it in the past and those kind of links have not been persistent. In short, they only seem to "last" for a few days a best. Or maybe there's a cache that expires if no one has accessed them recently, etc. Now SkyDrive folder paths are persistent (which is why they can provide an UI to get their permalinks), but for files... well you're mileage may vary, yada, yada. I HOPE this works long term, but I've been burned by it not in the past so I wouldn't hold my breath. I do hope it works for you... :)

George Raven George Raven
2/4/2012 2:57:37 PM #

how did u do the video? please answer me! I need a player desperately...

Prashant Prashant
2/4/2012 9:23:38 PM #

Video is a workaround....This is an old video player in silverlight from Channel9!! I downloaded this player from Channel9 and use it on my blog. If you want the same player then see below config I used to embed the player. It's a mess though, but it will work fine.. <object width="512" height="384" data="data:application/x-oleobject;base64,QfXq3+HzJEysrJnDBxUISgAJAADqNAAAsCcAABQAAAAjADAAMABGAEYARgBGAEYARgAAAAAAAAAAAAAAAAAAAIgAAABoAHQAdABwADoALwAvAGMAaABhAG4AbgBlAGwAOQAuAG0AcwBkAG4ALgBjAG8AbQAvAEEAcABwAF8AVABoAGUAbQBlAHMALwBkAGUAZgBhAHUAbAB0AC8AVgBpAGQAZQBvAFAAbABhAHkAZQByADEAMABfADAAMQBfADEAOAAuAHgAYQBwAAAAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPgCAABkAGUAZgBlAHIAcgBlAGQATABvAGEAZAA9AHQAcgB1AGUALABkAHUAcgBhAHQAaQBvAG4APQAwACwAbQA9AGgAdAB0AHAAOgAvAC8AcAB1AGIAbABpAGMALgBiAGEAeQAuAGwAaQB2AGUAZgBpAGwAZQBzAHQAbwByAGUALgBjAG8AbQAvAHkAMQBwAGkAbwBxAFAAQQBTADYAUQBsAGoAcwBRADMAWQAtAHUALQBKADgAVQBxAGkAUwBRAGUAUAA2AHkAZQBnAFkASABIAHoAZQBSAEsAMAB3AE0ASwBjADUAUQBTAE0AMAA3AHIAUwBUADAAWABwAFgANgBEADMARwBxAHMASQBLAGcALQB2AFMAXwBfAG0AUwBRAGcALQAzAFYAMwBzAHgAVQBRAHgAcQB6AFEAZwAvAE0AbwB1AHMAZQAuAHcAbQB2ACwAYQB1AHQAbwBzAHQAYQByAHQAPQBmAGEAbABzAGUALABhAHUAdABvAGgAaQBkAGUAPQB0AHIAdQBlACwAcwBoAG8AdwBlAG0AYgBlAGQAPQB0AHIAdQBlACwAIAB0AGgAdQBtAGIAbgBhAGkAbAA9AGgAdAB0AHAAOgAvAC8AcAB1AGIAbABpAGMALgBiAGEAeQAuAGwAaQB2AGUAZgBpAGwAZQBzAHQAbwByAGUALgBjAG8AbQAvAHkAMQBwAFkAaQB3AHkAcQBSADYAaQB5AGIAaQA1AEkAMABHAEsAcgBWAEcAaABwAE0ANgBLAGMATwBjAGQASQBLAE4AcgBhAGMASgBxAHMANQB0AG8AVABmAFAASABnAC0ANABnAFUAZwBqAFIANwBCAHkAQQBUAEkAdwBzADMAQwBRAG4AYQBDAEQANwA1AHQAVwBrAEEAUABoAHQAWABsAGQARQBiAHYAZgBJAFYAZwAvAE0AbwB1AHMAZQBfAFQAaAB1AG0AYgAuAHAAbgBnACwAIABwAG8AcwB0AGkAZAA9ADUANAA3ADkAMQAzAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" type="application/x-silverlight-2"> <param name="source" value="http://channel9.msdn.com/App_Themes/default/VideoPlayer10_01_18.xap" /> <param name="initParams" value="deferredLoad=true,duration=0,m=http://public.bay.livefilestore.com/y1pioqPAS6QljsQ3Y-u-J8UqiSQeP6yegYHHzeRK0wMKc5QSM07rST0XpX6D3GqsIKg-vS__mSQg-3V3sxUQxqzQg/Mouse.wmv,autostart=false,autohide=true,showembed=true, thumbnail=http://public.bay.livefilestore.com/y1pYiwyqR6iybi5I0GKrVGhpM6KcOcdIKNracJqs5toTfPHg-4gUgjR7ByATIws3CQnaCD75tWkAPhtXldEbvfIVg/Mouse_Thumb.png, postid=547913" /> <param name="background" value="#00FFFFFF" /> </object>

Prashant Prashant
2/4/2012 9:25:31 PM #

Video is a workaround....This is an old video player in silverlight from Channel9!! I downloaded this player from Channel9 and use it on my blog. If you want the same player then see below config I used to embed the player. It's a mess though, but it will work fine. To limit the mess I have trim down the base64 string. <object width="512" height="384" data="data:application/x-oleobject;base64,QfXq3+HzJEysrJnDBxUISgAJAADqNA..............AAAAAAA" type="application/x-silverlight-2"> <param name="source" value="http://channel9.msdn.com/App_Themes/default/VideoPlayer10_01_18.xap" /> <param name="initParams" value="deferredLoad=true,duration=0,m=http://public.bay.livefilestore.com/y1pioqPAS6QljsQ3Y-u-J8UqiSQeP6yegYHHzeRK0wMKc5QSM07rST0XpX6D3GqsIKg-vS__mSQg-3V3sxUQxqzQg/Mouse.wmv,autostart=false,autohide=true,showembed=true, thumbnail=http://public.bay.livefilestore.com/y1pYiwyqR6iybi5I0GKrVGhpM6KcOcdIKNracJqs5toTfPHg-4gUgjR7ByATIws3CQnaCD75tWkAPhtXldEbvfIVg/Mouse_Thumb.png, postid=547913" /> <param name="background" value="#00FFFFFF" /> </object>

Add Comment

Visit blogadda.com to discover Indian blogs Computers Blogs