Skip to content

This is a simple example Console App written in .NET using the Rackspace Openstack.net SDK to upload local files to a given Container on a CloudFiles account

Notifications You must be signed in to change notification settings

nick-o/CloudFilesUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFilesUpload

This is a simple example Console App written in .NET using the Rackspace Openstack.net SDK to upload local files to a given Container on a CloudFiles account

Usage

Download via git and change into subdir:

git clone https://github.com/nick-o/CloudFilesUpload.git
cd CloudFilesUpload

Compile via PowerShell:

#Get directory of .NET Runtime
$NETdir = [System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
#Add Runtime dir to PATH environment variable
$env:Path += ";" + $NETdir

#Build using MSBuild, default Configuration is Debug so specifying Release Configuration
#using the Rebuild target which runs a clean first
MSBuild.exe .\CloudFilesUpload.sln /t:Rebuild /p:Configuration=Release

Ouput directory is bin/Release. Usage per the below:

.\CloudFilesUpload.exe username api_key target_container path_to_file [region (US|UK)]

NOTE: Region must be one of US|UK. When omitted, default region (US) will be used

About

This is a simple example Console App written in .NET using the Rackspace Openstack.net SDK to upload local files to a given Container on a CloudFiles account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages