Git Product home page Git Product logo

manojsp12 / storage-file-java-getting-started Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/storage-file-java-getting-started

0.0 2.0 0.0 29 KB

The getting started sample demonstrates how to perform common tasks using the Azure File Service in Java including creating a directory, uploading files to a directory, downloading files, as well as listing all the files in a directory.

License: MIT License

JavaScript 9.61% Java 90.39%

storage-file-java-getting-started's Introduction

services platforms author
storage
java
sribhat-MSFT

Getting Started with Azure File Service in Java

Azure File Service Sample - Demonstrates how to perform common tasks using the Microsoft Azure File Service.

The Azure File service exposes file shares using the standard SMB protocol. Applications running in Azure can now easily share files between VMs using standard and familiar file system APIs like ReadFile and WriteFile. In addition, the files can also be accessed at the same time via a REST interface, which opens a variety of hybrid scenarios. Azure Files is built on the same technology as the Blob, Table, and Queue Services, which means Azure Files is able to leverage the existing availability, durability, scalability, and geo redundancy that is built into the Azure platform.

Note: If you don't have a Microsoft Azure subscription you can get a FREE trial account here

Running this sample

This sample can be run using your Azure Storage account by updating the config.properties file with your "AccountName" and "Key", or using the Azure CLI.

To run the sample using the Azure Storage File Service:

  1. Create a Storage Account through the Azure Portal and provide your account name and account key in the config.properties file.
  2. Set breakpoints and run the project.

To run the sample using Azure CLI:

  1. Install Azure CLI
  2. Login with Azure CLI
  3. Run node setup.js
  4. mvn compile exec:java
  5. Run node teardown.js

More information

What is a Storage Account

Getting Started with Files

File Service Concepts

File Service REST API

Azure Storage Java API

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.