The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



Thread: FTP Scripts
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-29-2007
raghav1982 raghav1982 is offline
Registered User
 

Join Date: Sep 2007
Posts: 87
Just wanted to be clear ,

When i run the Shell , it has to Prompt the User for host server :

echo "Please enter the host server:"
read IP
echo "Please enter the User id :"
read user
echo "Please enter the password :"
read pass
type = ''ascii''
$ftp
open $IP
quote USER $user
quote PASS $pass
$type

This wont work can anyone modify this and let me know , Thanks
Reply With Quote