SFTP.jl
An SFTP Client for Julia.
SFTP.jl is a pure Julia package for connecting to servers with the secure file transfer protocol (SFTP), supporting authentication by username and password or by certificates. Main purpose is the file exchange between the SFTP server and the local system. Basic file system functions similar to Julia's Base functions and to the typical Linux functionality exist to explore the SFTP server.
SFTP Feature overview
- Connection to SFTP server by username/password or with certificate authentication
- File
upload
/download
to/from server - Inspect the server with file system functions like
walkdir
,readdir
,stat
/statscan
,filemode
,ispath
,isdir
,isfile
,islink
- Navigate and manipulate server content with functions like
pwd
,cd
,mv
,rm
,mkdir
,mkpath
- Create script with the help of further filesystem functions like
joinpath
,basename
,dirname
orsplitdir
SFTP Installation
SFTP.jl is an unregistered Julia package, but can be installed with the package manager:
julia> ]
pkg> add https://github.com/LIM-AeroCloud/SFTP.jl.git
By default, the development version will be install. To use released stable version switch to the main
channel by installing SFTP.jl with:
pkg> add https://github.com/LIM-AeroCloud/SFTP.jl.git#main
The package is developed for MacOS and Linux, but can be used under Windows as well. It is tested against the long-term support version (LTS) of Julia, the latest stable version, and the nightly version. To run test on your system open the package manager and type test
:
pkg> test