Skip to content
@remotefs-rs

remotefs-rs

remotefs is a library that provides a file system structure to work with all the most popular file transfer protocols

About remotefs ☁️

remotefs is a library that provides a file system structure to work with all the most popular file transfer protocols. This is achieved through a trait called RemoteFs which exposes methods to operate on the remote file system. Currently the library exposes a client for Sftp, Scp, Ftp, WebDav, Kube and Aws-s3 as external libraries.

Remote file system 💾

As mentioned earlier, this library exposes a trait called RemoteFs. This trait exposes several methods to operate on a remote file system via the chosen client.

Let's briefly go over which methods are available:

  • connect: connect to the remote host.
  • disconnect: disconnect from the remote host.
  • is_connected: returns whether the client is connected to the remote host.
  • append_file: append specified buffer to the specified file.
  • append: open a file for append and returns a stream to write to it.
  • change_dir: change the working directory to provided path.
  • copy: copy a file from the specified source path to the specified destination.
  • create_dir: create a directory with the specified file mode at the specified path.
  • create_file: create a file at a specified path with the specified content.
  • create: create a file and returns a stream to write to it.
  • exec: executes a shell command.
  • exists: checks whether file at specified path exists.
  • list_dir: get entries at the provided path.
  • mov: move a file from the specified source path to the specified destination.
  • open_file: open a file for reading and fill the specified buffer with the file content.
  • open: open a file and returns a stream to read it.
  • pwd: get working directory.
  • remove_dir_all: remove file/directory and all of its content.
  • remove_dir: remove directory at the specified path. It fails if it is not an empty directory.
  • remove_file: remove file at the specified path. It fails if it is not a file.
  • setstat: set file metadata for file at the specified path.
  • stat: get file information of file at the specified path.
  • symlink: create a symlink at the specified path, pointing to the specified file.

Pinned Loading

  1. remotefs-rs remotefs-rs Public

    ⏫ A client library to work with all file transfer protocols ⏬

    Rust 46 6

  2. remotefs-rs-ssh remotefs-rs-ssh Public

    RemoteFS SCP/SFTP clients

    Rust 10 2

  3. remotefs-rs-smb remotefs-rs-smb Public

    RemoteFS SMB client

    Rust 9 1

  4. remotefs-rs-ftp remotefs-rs-ftp Public

    RemoteFS FTP client

    Rust 2

  5. remotefs-rs-aws-s3 remotefs-rs-aws-s3 Public

    RemoteFS Aws S3 client

    Rust 1

  6. remotefs-rs-kube remotefs-rs-kube Public

    remotefs-rs implementation for Kube

    Rust

Repositories

Showing 8 of 8 repositories
  • remotefs-rs-ssh Public

    RemoteFS SCP/SFTP clients

    remotefs-rs/remotefs-rs-ssh’s past year of commit activity
    Rust 10 MIT 2 0 0 Updated Sep 30, 2024
  • remotefs-rs-smb Public

    RemoteFS SMB client

    remotefs-rs/remotefs-rs-smb’s past year of commit activity
    Rust 9 MIT 1 1 0 Updated Sep 30, 2024
  • remotefs-rs-kube Public

    remotefs-rs implementation for Kube

    remotefs-rs/remotefs-rs-kube’s past year of commit activity
    Rust 0 MIT 0 0 0 Updated Sep 30, 2024
  • remotefs-rs-ftp Public

    RemoteFS FTP client

    remotefs-rs/remotefs-rs-ftp’s past year of commit activity
    Rust 2 MIT 0 0 0 Updated Sep 30, 2024
  • remotefs-rs-aws-s3 Public

    RemoteFS Aws S3 client

    remotefs-rs/remotefs-rs-aws-s3’s past year of commit activity
    Rust 1 MIT 0 0 0 Updated Sep 30, 2024
  • remotefs-rs-webdav Public

    remotefs-rs implementation for WebDAV

    remotefs-rs/remotefs-rs-webdav’s past year of commit activity
    Rust 0 MIT 0 0 0 Updated Sep 30, 2024
  • remotefs-rs Public

    ⏫ A client library to work with all file transfer protocols ⏬

    remotefs-rs/remotefs-rs’s past year of commit activity
    Rust 46 MIT 6 1 0 Updated Sep 30, 2024
  • .github Public
    remotefs-rs/.github’s past year of commit activity
    0 0 0 0 Updated Sep 30, 2024

Top languages

Loading…

Most used topics

Loading…