The first attempt fails causing a 'no login condition'. By duplicating the line, you insure that your FTP log in always completes correctly.
Simple script example:
user <username> <Password>
user <username> <Password>
get <Lib> /<File> <Lib> /<File>
quit
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: Tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Read this Search400.com Featured Topic: Monitoring your iSeries system .
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.
This was first published in May 2004