![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .netrc and ftp | magikalpnoi | AIX | 4 | 07-07-2008 04:22 AM |
| using .netrc | sveera | UNIX for Advanced & Expert Users | 6 | 03-26-2008 04:58 PM |
| how to encript password in .netrc file | getgopu25 | Shell Programming and Scripting | 1 | 06-13-2005 08:16 AM |
| Crontab refuses to save changes! | fire>ant> | UNIX for Dummies Questions & Answers | 18 | 04-25-2005 04:56 PM |
| netrc file encrypted password | ggowrish | UNIX for Advanced & Expert Users | 2 | 06-17-2004 06:15 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
.netrc refuses password
Hi trying to ftp a printer to collect info but the ftp file shows that when it gets to password the mode is incorrect
both the login and the password are not compulsory (e.g. if the user hits the enter button twice the ftp session is initiated) any ideas ![]() |
|
||||
|
further info
sorry forgot to mention the .netrc file contains only the machine and login this allows me to get as far as the password in the ftp session (which only consists of me hitting the enter button)
when the line password is entered in the .netrc file, the error message appears |
|
||||
|
tried your suggestion Perdo but no joy
these are some of the options I have tried (and the results) .netrc file machine machinename login bogus ".netrc" 2 lines, 30 characters $ ftp machinename Connected to machinename. 220 AXIS 540/542 FTP Printer Server V5.31 Feb 21 1997 ready. 331 User name ok, need password Password: (at this point the enter key is hit) 230 User logged in I need the password part above to be automatic .netrc file machine machinename login bogus (anything entered here allows access) password bogus (anything entered here allows access) but not automatically ".netrc" 3 lines, 48 characters $ ftp machinename. Connected to machinename.. 220 AXIS 540/542 FTP Printer Server V5.31 Feb 21 1997 ready. Error - .netrc file not correct mode. Remove password or correct mode. 221 Goodbye. ftp> ![]() |
|
||||
|
Thanks lads as I said at the start Perdo just trying to get my head round this Unix stuff, but you two have helped a great deal. Any books forums or other paraphenalia you could recommend would be greatly appreciated, especially with regard to programming in Unix.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|