This uses SkyDrive .Net API Client to upload a file to the specified folder.

The SkyDrive tasks do not support web proxies, vote for this task to have the developer add support.

<SkyDriveUpload
    Username="windows-live-email"
    Password="p@ssw0rd"
    ReleasePath="$(ReleasePath)"
    File="Path/To/File/To/Upload">
  <Output PropertyName="DownloadUrl" TaskParameter="DownloadUrl" />
</SkyDriveUpload>

Input Properties

Name Description Type Required Default
ReleasePath The path to the directory on sky drive to upload to. This path must already exist. You can get it from the output parameter ReleasePath from the SkyDriveCreateRelease Task String true null
File Full path to the file to upload String true null
Username Your windows live email address String true null
Password Your windows live id password String true null
Timeout The amount of time, in seconds, before the upload process will timeout. Integer false 30
TreatErrorsAsWarnings If an error occurs, and true, then it will display a warning boolean false false
ProxyHost The name of the proxy server String false null
ProxyPort The port of the proxy server Integer false 8080
ProxyUser The username to use for proxy authentication String false null
ProxyPassword The password to use for proxy authentication String false null

Output Properties

Name Description Type
DownloadUrl The url to download the file String

Last edited Dec 23, 2009 at 10:05 PM by camalot, version 2

Comments

No comments yet.