November 24, 2024, 05:13:10 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: gunzip and ftp using a script @ a time  (Read 6044 times)

Offline shipoin_97

  • Tux Awared
  • **
  • Posts: 44
gunzip and ftp using a script @ a time
« on: March 19, 2009, 05:12:46 AM »
Friends ,

 Using the following script I can FTP a file from a remote machine but I cannot
gunzip that file at a time .The script is :

-----------------------------------
x=scott.dmp.gz
ftp -i -v -n 192.168.1.1 <<END_FTP
user oracle Oracle
binary
cd /dump
get $x
bye 
gunzip $x
-------------------------------------
Would anybody plz tell me , how can I gunzip that file using a one script .

Waiting for reply ... ...