Solved

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

Posted on 2003-12-11
2
279 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

695 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