[go: up one dir, main page]

upload

Function upload 

Source
pub async fn upload(
    package: &Package<PathBuf, Verified>,
    client: &Client,
    base_path: &Path,
    mode: Mode,
    progress: Option<impl ProgressDisplay + Send + 'static>,
) -> Result<Status, UploadError>
Expand description

Uploads files with SFTP.

This function establishes a connection to a remove SSH server and transfers the provided files sequentially.