Giter VIP home page Giter VIP logo

mail.ru-.net-cloud-client's Introduction

Mail.Ru-.net-cloud-client

.Net Client for cloud.mail.ru

Main functionality with implementations:

  • Get disk space usage in cloud.mail.ru
    GetDiskUsage() - Returns Total/Free/Used size.
  • Create folder
    CreateFolder(string folderName, string destinationPath) - return bool result of the operation
  • Copy file
    Copy(File fileObject, Entry destinationEntryObject) - return bool result of the operation
    Copy(File fileObject, Folder destinationFolderObject) - return bool result of the operation
    Copy(File fileObject, string destinationPath) - return bool result of the operation
  • Copy folder
    Copy(Folder folderObject, Entry destinationEntryObject) - return bool result of the operation
    Copy(Folder folderObject, Folder destinationFolderObject) - return bool result of the operation
    Copy(Folder folderObject, string destinationPath) - return bool result of the operation
  • Download file
    GetFile(File fileObject, [bool includeProgressEvent = True]) - return byte array of the file
    GetFile(File fileObject, string destinationPathOnCopmuter, [bool includeProgressEvent = True]) - return bool result of the operation and save file in destination path on computer
  • Upload file
    UploadFile(FileInfo file, string destinationPath) - return bool result of the operation
  • Get list of the files and folders
    GetItems(Folder folderObject) - return Entry object with files and folders on the server (include list of the File and Folder object)
    GetItems(string pathOnServer) - return Entry object with files and folders on the server (include list of the File and Folder object)
  • Get public file link (not support for large files)
    GetPublishLink(File fileObject) - return public file URL as string
  • Get public folder link
    GetPublishLink(Folder folderObject) - return public folder URL as string
  • Get direct file link (operation on one session)
    GetPublishDirectLink(string publicFileLink, FileType fileType) - return direct file URL as string
  • Move file
    Move(File fileObject, Entry destinationEntryObject) - return bool result of the operation
    Move(File fileObject, Folder destinationFolderObject) - return bool result of the operation
    Move(File fileObject, string destinationPath) - return bool result of the operation
  • Move folder
    Move(Folder folderObject, Entry destinationEntryObject) - return bool result of the operation
    Move(Folder folderObject, Folder destinationFolderObject) - return bool result of the operation
    Move(Folder folderObject, string destinationPath) - return bool result of the operation
  • Rename file
    Rename(File fileObject, string newFileName) - return bool result of the operation
  • Rename folder
    Rename(Folder folderObject, string newFolderName) - return bool result of the operation
  • Remove file
    Remove(File fileObject) - return bool result of the operation
  • Remove folder
    Remove(Folder folderObject) - return bool result of the operation
  • Disable public file link
    UnpublishLink(File fileObject) - return bool result of the operation
  • Disable public folder link
    UnpublishLink(Folder folderObject) - return bool result of the operation
  • Cancel all async threads
    AbortAllAsyncThreads() - return nothing, just remove all async operations to cloud

All operations supports async calls. Upload and Download operations supports progress change event and can work with large file more than 2Gb.

Mail.ru cloud paths start with symbol "/", e.g:

  • Root directory just start with "/"
  • Folder in root directory as "/New folder"
  • File in root directory as "/NewFileName.txt"

          VERY BETA VERSION

Distributed under the MIT license

mail.ru-.net-cloud-client's People

Contributors

erastmorgan avatar viciousviper avatar dmxengine avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.