I am trying to ftp on a windows system using a file with the settings in it. This is what is in the file:
Address.to.device
username
password
"quote"
"site reboot"
quit
This will reboot a camera and it works. I even have it running on powershell script and it works. I can not get it work in powershell.
here is what I have:
subprocess.call(["C:/Windows/System32/ftp.exe", "-s:C:\test\ftp.txt"])
How do I get this to work and how do I get it to wait for its completetion before moving on?