Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-15-2013, 03:31 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 6
Blog Entries: 1

Rep: Reputation: 0
Transfer file using a temporary name and rename when successful

Dear all,

How can I do an FTP transfer for a file using a temporary name and then rename the file once the file has been successfully transferred

Old 10-15-2013, 05:40 AM   #2
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 525

Rep: Reputation: 141Reputation: 141
ftp> put original_file renamed_file
File will gets renamed only if copy is successfull.
1 members found this post helpful.
Old 10-18-2013, 04:43 AM   #3
LQ Newbie
Registered: Jun 2008
Posts: 6
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thank you mddesai it worked.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow single file transfer, fast multiple transfer Manzano Linux - Networking 6 08-06-2013 11:39 AM
rsync - how to not re-transfer after folder rename ? rbalaa Linux - Software 1 06-26-2010 01:37 AM
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 03:49 AM
scp hangs at the end of a successful transfer dscholl Red Hat 1 07-17-2009 06:27 PM
copy last 10000+ lines of large text file to a temporary file emilyg Linux - Newbie 3 06-24-2009 02:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration