The UNIX and Linux Forums  

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


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Calling expect scripts from other expect scripts seva Shell Programming and Scripting 0 04-03-2008 10:45 AM
scripts please rrdore SUN Solaris 2 12-07-2006 02:35 AM
use of ssh in scripts esham Shell Programming and Scripting 7 11-16-2005 08:27 AM
Help with GDL to SQL scripts ch4r1e5 Shell Programming and Scripting 0 10-31-2005 02:51 PM
using su in scripts uchachra UNIX for Dummies Questions & Answers 3 03-11-2002 10:24 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 11-30-2007
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
Code:
ftp -nv <<EOF
P.S. Pls DO use vB Codes when quoting code/text.
Reply With Quote
Forum Sponsor
  #9  
Old 11-30-2007
Registered User
 

Join Date: Sep 2007
Posts: 87
It worked , but it is asking for the password once again for the source server

any clue ?

Thanks
Reply With Quote
  #10  
Old 11-30-2007
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
try:
Code:
open $FTP_SRVR
user $FTP_USR $FTP_PWD

Last edited by vgersh99; 11-30-2007 at 04:35 AM.
Reply With Quote
  #11  
Old 11-30-2007
Registered User
 

Join Date: Sep 2007
Posts: 87
Thanks a Lot

I am working on few more conditions , hopefully i would try to complete
Reply With Quote
  #12  
Old 11-30-2007
Registered User
 

Join Date: Sep 2007
Posts: 87
Quote:
Originally Posted by vgersh99 View Post
try:
Code:
open $FTP_SRVR
user $FTP_USR $FTP_PWD
Is there a way to hide the Password when we are typing ?

Thanks
Reply With Quote
  #13  
Old 11-30-2007
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
Quote:
Originally Posted by raghav1982 View Post
Is there a way to hide the Password when we are typing ?

Thanks
you can close your eyes.....
Code:
#!/bin/ksh

oldmodes=$(stty -g)
stty -echo
read password
stty ${oldmodes}
Reply With Quote
  #14  
Old 11-30-2007
Registered User
 

Join Date: Sep 2007
Posts: 87
Thanks !!!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0