This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
FTP login not passing password argument properly
Post Body

Im trying to login to a ftp server.

In my code:

ftp.login(userName,passToTry)

The server logs show username is accepted but when the script goes to pass the password it does so wrong.

The servers errors to EINVAL invalid argument passed. I have tried to str() the variable before trying to login.

Wireshark does show the password sent as something like: PASS \0x00H \0x00e ... and so on in the packet.

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
18,676
Link Karma
1,792
Comment Karma
16,504
Profile updated: 1 week ago
Posts updated: 3 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago