I am having difficulties trying to figure out how to use the .netrc to login to a server where I already have the same server name for another ftp file.
For example, my .netrc would look like this:
machine 111.11.1.1 login idone password passone
machine 111.11.1.1 login idtwo password passtwo
When logging in with "idone" I am able to get to certain files, and when logging in with "idtwo" I am able to get to other files. The problem is that I cannot login with "idone" to get the "idtwo" files and visa-versa. When executing the script, it will obviously take the id and password of the first entry it comes to. Any thoughts?
Some other factors...I am using tlsftp to transfer these files. I have tried hardcoding the ftp command into my unix script (bypassing the .netrc file), but I keep getting errors. Unfortunatly my work installed tlsftp, but has no supporting documentation on it.
Any help you could provide would be greatly appreciated.