need some help here with python FTP. so what i'm trying to do is, from a linux machine, ill be sending over a python script to a windows machine via python ftp. that works fine with no problem. now, i want to execute that python script i sent remotely. im having trouble with that. here's my code to just execute the script:
p.s : please dont suggest other options such as python paramiko due to many network security reasons
Code:
ftp = ftplib.FTP("windows machine name") ftp.login("username", "password") ftp.cwd("where\\python\\script\\is kept\\") ftp.sendcmd("python myscript.py")
but looks like it doesn't recognize that command. how do i accomplish this please?