Solved

Renaming *.txt => *.get from within ftp, is it possible ?

Posted on 2003-12-11
2
266 Views
Last Modified: 2013-11-29
I need to get *.txt from a certain directory using ftp. Since some of these files
may still be written to as I proceed, the safest bet would be to rename all of them
*.txt => *.get and then do mget  *.get and mdelete *.get ?

Thanks,
-Alex
0
Comment
Question by:AlexF777
2 Comments
 
LVL 18

Assisted Solution

by:chicagoan
chicagoan earned 100 total points
Comment Utility
if the application doing the writing understands to create a new file and the ftp server doesn't choke on open filed, sure.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 150 total points
Comment Utility
u can use these commands.
RNFR
Syntax: RNFR from-filename

Used when renaming a file. Use this command to specify the file to be renamed; follow it with an RNTO command to specify the new name for the file.

RNTO
Syntax: RNTO to-filename

Used when renaming a file. After sending an RNFR command
moreinfo : http://www.nsftools.com/tips/RawFTP.htm
----------------

if u are doing this unix to unix then it is simple. mv command(which does the renameing works).
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now