How to handle connection errors when accessing a server in python?

Viewed 9

I regularly have to copy files to/from a server; I use shutil.move() for that. Most of the time it works well but every once in a while I receive connection errors as the server doesn't respond. How do I best handle this issue?

0 Answers
Related