Solved

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

Posted on 2003-12-11
2
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Assisted Solution

by:chicagoan
chicagoan earned 100 total points
ID: 9925514
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
ID: 9925589
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

733 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