Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Poor performance SFTPing files #29

@valenciaj

Description

@valenciaj

I try to copy from my server to local thru ssh2.cr and I observe a poor performance like this:

javier@XXXXXX:~/projects/crystal/backuper$ time ./backuper ~/.ssh/id_rsa awscli-bundle.zip 
11648371 bytes writed.

real	0m27,632s
user	0m0,568s
sys	0m0,204s

There are a better way to copy file than IO.copy from channel to File?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions