On Monday, February 25, 2013 9:02:54 AM UTC-8, chris...@gmail.com wrote:
> Hello, ive been struggling with this for a couple weeks now and was hoping
> someone might be able to help. I have an older Cognex camera that I need to
> communicate with via telnet. I can get a response from the camer
On Monday, February 25, 2013 1:15:54 PM UTC-8, MRAB wrote:
> On 2013-02-25 20:27, Chris Annin wrote:
>
> > Ive tried: read_until("Login: "), read_until("User: ") and read_all()
>
> > all 3 ways return the same thing: "Welcome to In-Sight(R) 400
Ive tried: read_until("Login: "), read_until("User: ") and read_all() all
3 ways return the same thing: "Welcome to In-Sight(R) 4001 Session
1\r\nUser:"
then I put in:
tn.write("admin\r\n")
or
tn.write(USER + "\r\n")
or
tn.write(USER + "\r")
or
tn.write(USER + "\n")
Ive tried every combination
On Monday, February 25, 2013 9:29:54 AM UTC-8, MRAB wrote:
> On 2013-02-25 17:02, chris.an...@gmail.com wrote:
>
> > Hello, ive been struggling with this for a couple weeks now and was hoping
> > someone might be able to help. I have an older Cognex camera that I need
> > to communicate with v
yes, ive connected successfully using hyperterminal after I login it asks for
user and I type admin press enter then it ask for password and type password
press enter and it all works fine. using python ive tried ending both with "\n"
and "\r\n" im thoroughly confused
On Monday, February
Hello, ive been struggling with this for a couple weeks now and was hoping
someone might be able to help. I have an older Cognex camera that I need to
communicate with via telnet. I can get a response from the camera when I
initiate a telnet session but I dont seem to get any response when I
>
> > im trying to delete all text files from an ftp directory. is there a way to
> > delete multiple files of the same extension?
>
> >
>
> > I came up with the following code below which works but I have to append
> > the string because ftp.nlst returns:
>
> >
>
> > "-rwx-- 1 user gro
im trying to delete all text files from an ftp directory. is there a way to
delete multiple files of the same extension?
I came up with the following code below which works but I have to append the
string because ftp.nlst returns:
"-rwx-- 1 user group 0 Feb 04 15:57 New Text Document.txt"