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

NameDescriptionTypeRequiredDefault
ReleasePathThe 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 TaskStringtruenull
FileFull path to the file to uploadStringtruenull
UsernameYour windows live email addressStringtruenull
PasswordYour windows live id passwordStringtruenull
TimeoutThe amount of time, in seconds, before the upload process will timeout.Integerfalse30
TreatErrorsAsWarningsIf an error occurs, and true, then it will display a warningbooleanfalsefalse
ProxyHostThe name of the proxy serverStringfalsenull
ProxyPortThe port of the proxy serverIntegerfalse8080
ProxyUserThe username to use for proxy authenticationStringfalsenull
ProxyPasswordThe password to use for proxy authenticationStringfalsenull

Output Properties

NameDescriptionType
DownloadUrlThe url to download the fileString

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

Comments

No comments yet.