May 16th, 2013, 12:40 AM
Join Date: May 2013
Time spent in forums: 9 m 30 sec
Reputation Power: 0
FTP problem in python scripting
I have a device connected to my PC on Ethernet port. I want to connect to that via FTP and send few commands. It works very well with command prompt but python script is giving some exceptions.
My code is something like this:
from ftplib import FTP
it gives an exception while sending the command. connection and login is successful. I am able to get the welcome message also.