The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: FTP thru script
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-25-2007
jithinravi jithinravi is offline
Registered User
 

Join Date: Apr 2007
Posts: 8
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.
Reply With Quote
Forum Sponsor