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
How to move all files except one? Kim Walisch Shell Programming and Scripting 4 11-02-2007 01:00 PM
Move all but not the latest u263066 Shell Programming and Scripting 4 08-16-2006 03:26 AM
move from an HP box to Sun Box luker UNIX Benchmarks 4 08-06-2005 02:44 AM
move file ust Shell Programming and Scripting 1 08-04-2005 12:01 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2005
Registered User
 

Join Date: Jul 2003
Location: Hambach - France
Posts: 29
How to do a move in FTP

Hello,

I need to do a move for a file when I am connected to a server with Ftp.

Is that possible ???

Thanks...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-29-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,643
Two possible situations in this case.

1. You want to move the file you just transferred.
2. You want to move a file which was not transferred.

For 1. you can ftp as follows

Code:
get/put original.file.name new.file.name
i.e. you can decide what name to want to save it as. If, new.file.name is not provided, original.file.name is picked up.

For case 2. I dont know..

Vino
Reply With Quote
  #3 (permalink)  
Old 06-29-2005
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,475
i presume u r concerned about a move(rename)

you have rename command in FTP (standards)

ftp>help

you will have rename command there
Reply With Quote
  #4 (permalink)  
Old 06-29-2005
zylwyz's Avatar
Registered User
 

Join Date: Jun 2005
Location: I'm living in Unix :)
Posts: 53
Unhappy

You can use and this too:
$ ftp
ftp > open site.com
lcd ~/uploads # local navigation
put file.c
get file.c
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:40 PM.


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

Content Relevant URLs by vBSEO 3.2.0