Skip to main content

awftp - a FTP-style client for HCP Anywhere

Project description

A FTP-style client for HCP Anywhere File Sync & Share

HCP Anywhere is a File Sync & Share solution developed by Hitachi Vantara. It offers a wide range of FS&S clients for Desktop computers, Mobile devices as well as Browsers. A lacking piece so far is a CLI client that allows to access HCP Anywhere on devices where no GUI is available (Linux servers, for example).

awftp tries to fill this gap by providing a look and feel as close as possible to well-known CLI-based ftp clients. The features available are a subset of what is offered by ftp clients, due to the functionality the HCP Anywhere FS&S service offers through its API; some other functions in ftp clients simply doesn’t make sense for use with HCP Anywhere. On the other hand, there are some features (snap, for example) not found with ftp…

Features

  • Works with any FS&S API version >= 2.1.1 while using the highest version known

  • Navigate the folders stored in HCP Anywhere, including Mobilized NAS, Shared Folders, Team Folders, Backup Folders

  • List folders content, including deleted files/folders

  • Store, update and retrieve files

  • Move files and folders

  • Undelete files/folders

  • Create/delete folders (even recursive)

  • Link handling:

    • Create links to share content with others - internal/public, read-only, read-write, write-only

    • List links

    • Delete links

    • Work with folders shared with us:

      • List all collaboration folders

      • List invitations

      • Accept invitations

      • Reject invitations

  • Work with snapshots

    • List available snapshots

    • Provide view into snapshots

    • Restore files from snapshots

  • Dynamically enables/disables features depending on the HCP Anywhere version connected to

Dependencies

You need to have at least Python 3.7 installed to run awftp.

It uses Kenneth Reitz’s famous requests package for communication with HCP Anywhere. And it uses click for text output, coloring and to show a progress bar.

Documentation

To be found at readthedocs.org

Installation

Install awftp by running:

$ pip install awftp

-or-

get the source from gitlab.com, unzip and run:

$ python setup.py install

-or-

Fork at gitlab.com

Contribute

Support

If you’ve found any bugs, please let me know via the Issue Tracker; if you have comments or suggestions, send an email to mailto:sw@snomis.eu

License

The MIT License (MIT)

Copyright (c) 2016-2021 Thorsten Simons (sw@snomis.eu)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awftp-1.3.4.tar.gz (33.0 kB view details)

Uploaded Source

File details

Details for the file awftp-1.3.4.tar.gz.

File metadata

  • Download URL: awftp-1.3.4.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for awftp-1.3.4.tar.gz
Algorithm Hash digest
SHA256 e7d9e5d17e8245af488058696f37559cb52b921a2b3df00fc44e49c376667c4c
MD5 f846a6097bef2d4bb9105e7b9ff9d037
BLAKE2b-256 39dd54f8305ef584e2b4c254cdc79574bb01c1932256693eb2b48a3f156252a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page