I want to second what Ozan has said, use *sftp.Client not sftp.Client, but
I want to throw out a couple of words about that.
First, the documentation specifically warns against copying Mutex. So you
need to be fairly certain that no mutexes are used in a struct before
using value semantics. An
Hi Phillip,
Can you please try to use *sftp.Client as a pointer instead of sftp.Client?
In addition, concurrent read configuration provided to sftp client can be
omitted to reproduce.
23 Ağustos 2023 Çarşamba tarihinde saat 15:37:10 UTC+3 itibarıyla Phillip
Siessl şunları yazdı:
> Hi
>
> i h
Possibly it's a concurrency error in the sftp library you're using.
Compile with "-race" flag and test it - it should print out the offending
code.
Phillip Siessl a következőt írta (2023. augusztus 23., szerda, 14:37:10
UTC+2):
> Hi
>
> i have some issues when i try to download a larger zip fi