The UNIX and Linux Forums  

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



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-28-2007
Nagabhushan Nagabhushan is offline
Registered User
 

Join Date: Aug 2007
Posts: 12
rename while doing ftp

hi friends,

I writing a script to psot dataset to ceratin server.....while doing ftp I have to rename the file while which is in present server like

present :test server

filename data.097878.

ftp server: it sholu be renamed as data.097878.zip

thanks,



The thing is that while we make put data.097878 I want to rename it atr this instant..
PWD=nagabhushna
file data.097878

ftp -inv production
username password
cd some dir
put data.097878 at this instant I want to rename it and post it as data.097878.tested

Last edited by Nagabhushan; 08-28-2007 at 12:56 AM..
Reply With Quote
Remove advertisements
!!
Forum Sponsor