|
FTP thru script
Hi, could anyone please tell me how can i write an interactive script so that i can connect to an FTP and pass the username and password when prompted.
i thought of using expect. but its not installed on my system and i got the following error msg when i tried uncompress the .tar.z file after downloading:
insize:489 posbits:0 inbuf:00 F1 69 5C 9F (0)
uncompress: corrupt input.
i there any way tht i can store the usid n psswd in a file and use tht to pass the parameters to the script?
i am workin on TC shell.
|