Python FTP script security concerns -


i'm wondering how secure is? i'm connecting ftp server that's within company's network, , have python script stored on local computer connection details hard-coded scripts this:

ftp = ftplib.ftp() ftp.connect('server.mycompany.com', 21, 9600) ftp.login('my-user-name', 'my-password') 

is there way should handling this, or reasonably secure long i'm dealing servers within company? opening company risk doing this, , if so, preferred method?


Comments