Skip to main content

UFTP (UNICORE FTP) commandline client

Project description

PyUFTP, a commandline client for UFTP (UNICORE FTP) commandline client

UFTP (UNICORE File Transfer Protocol) is a high-performance data streaming library and file transfer tool with sharing capabilities. It allows to transfer data from client to server (and vice versa), as well as providing data staging and third-party transfer between UFTP-enabled UNICORE sites.

PyUFTP is a commandline client providing a number of commands for interacting with a UFTP authentication server and with the UFTPD file server.

Commands include

  • authenticate - Authenticate only, returning UFTPD address and one-time password
  • checksum - Compute hashes for remote file(s) (MD5, SHA-1, SHA-256, SHA-512)
  • cp - Download/upload file(s)
  • find - List all files in a remote directory
  • info - Gets info about the remote server
  • issue-token - Get an authentication token from the Auth server
  • ls - List a remote directory
  • mkdir - Create a remote directory
  • rcp - Server-server copy
  • rm - Remove a remote file/directory
  • share - List, create, update and delete shares

Installation

Install from PyPI with

python3 -m pip install -U pyuftp

Commandline completion

PyUFTP comes with a commandline completion script for Bash, but due to the limitations of a Python-based install, it might not get picked up automatically.

If installing in a virtual environment (venv), you need to load it manually:

source $VIRTUAL_ENV/share/bash-completion/pyuftp

You can also add this line to the venv activation script:

echo ". $VIRTUAL_ENV/share/bash-completion/pyuftp" >> $VIRTUAL_ENV/bin/activate

When installing outside of a virtual environment, the completion script will be installed in

~/.local/share/bash-completion/completions/pyuftp

and should be picked up automatically by Bash completion and loaded when you start a new shell.

Usage

The commandline syntax is (mostly) the same as the Java version, have a look at the documentation.

Try

pyuftp --help

for a list of commands, and

pyuftp <command> --help

to see the built-in help for each command.

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

pyuftp-1.0.4.tar.gz (41.9 kB view details)

Uploaded Source

File details

Details for the file pyuftp-1.0.4.tar.gz.

File metadata

  • Download URL: pyuftp-1.0.4.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pyuftp-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ce13e59c2899739de8f3766b290ca9d10f62a2813dd6aab765bbb4c86062d38f
MD5 b7d61f6d70c5164ead20eeafdcc75106
BLAKE2b-256 2a5a55ff82b2140754064e4fea533c547943e8461a7de612fde0f1eaacd596fa

See more details on using hashes here.

Supported by

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