I have a python script which downloads some files from sftp
server. But getting server connection dropped error after some time.
++++Error+++
File "/home/user/venv/lib/python3.6/site-packages/paramiko/sftp.py", line 188, in _read_all raise EOFError() EOFError
During handling of the above exception, another exception occurred:
File "/home/user/venv/lib/python3.6/site-packages/paramiko/sftp_client.py", line 845, in _read_response raise SSHException("Server connection dropped: {}".format(e)) paramiko.ssh_exception.SSHException: Server connection dropped:
+++++++
artifact = self.artifact_folder + filename
self.session.get(filename, artifact)