?
Solved

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

Posted on 2003-12-11
2
Medium Priority
?
286 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 300 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 450 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

762 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