Hello
I'm uploading a script file to a server
which casue the server to reboot ( which is what I want )
how do I make the python ignore it? and say it's OK?
If I get not reply in 20 seconds continue ?
Is this enough?
this is what I have on the code:
Thanks,
I'm uploading a script file to a server
which casue the server to reboot ( which is what I want )
how do I make the python ignore it? and say it's OK?
If I get not reply in 20 seconds continue ?
Is this enough?
ftp = FTP(routerIP, timeout=20)or I need to catch some exception?
this is what I have on the code:
except Exception as e: print('my error') print(e)and I see I get this on the print out
my error timed outfor me it's not an error
Thanks,