From: Michael D. S. I. <mi...@ku...> - 2005-01-09 07:06:59
|
<?xml version="1.0" ?><html> <head> <title></title> </head> <body> <div align="left"><font face="Arial"><span style="font-size:10pt">I've done some simple testing in modifying the script to use other than anonymous ftp. </span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">The first test I did was to add a variable at the beginning of the script.</span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">useridpass="-u user -p password"</span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">Modified the lines with the ncftpput and ncftpget to add $useridpass after the command. Last change was to remove the / before the ftppath.</span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">Ran the modified script, and it worked fine with the img directory under the test users directory. </span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">Below is a modified version of the script. I copied the get filename option, and modified it to ask for the useridpass info Still combines the whole input as one thing.</span></font></div> <div align="left"><font face="Arial"><span style="font-size:10pt">-u user -p password</span></font></div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">But it does work to create the image file, but I haven't tested the restore option.</span></font></div> <div align="left"><br/> </div> <div align="left"><br/> </div> <div align="left"><font face="Arial"><span style="font-size:10pt">Link to the modified script.</span></font></div> <div align="left"><font face="Arial"><span style="font-size:10pt">ftp://guam.packet.org/g4lup3</span></font></div> </body> </html> |