1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Decrease Paramiko maximal request size

Discussão em 'Python' iniciado por Stack, Fevereiro 25, 2025.

  1. Stack

    Stack Membro Participativo

    I have a Python Runbook and I would like to set the MAX_REQUEST_SIZE = 1024 instead of 32768 (default value) in the Paramiko's sftp_file.py.

    Have you any idea about how can we do it??

    I'am trying to transfer files from SFTP to local. And for some reasons, the transfer of files with more than 30MB is suspended automatically when achieving the 27–28 MB without getting any error message. When I changed locally the max_request_size to 1024, it worked.

    Continue reading...

Compartilhe esta Página