Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Append Command: Appending on a new line

Posted on 2008-06-19
Medium Priority
Last Modified: 2012-05-05
When using the MS Windows ftp.exe there is an append command. From what I have seen, when appending text files, it just directly appends the new file to the source file without making a new line.

For example:
Source: test
new: anothertest
outcome: testanothertest

I would like to see to see a new line before the new file is appended:
outcome: test

How can I achieve this result?
Question by:bejhan
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
  • 3
  • 2

Expert Comment

ID: 21824053
It might be annoying, but you could do two appends. Create a text file with a carriage return in it, append that to the remote file, then append your other text file.

Expert Comment

ID: 21829177
With he other alternative adding a line to the start of the text file being appended.

Author Comment

ID: 21833432
Okay if I have a blank line at the beginning of the appending text file it works. But I like your first suggestion better so that in my code I can just have it append the line return text file first so that I don't have to mess with my other files. However, the only problem is I can't get a text file to save with just a line return. When I open it again its always just blank again. Any idea of how to do this?

Accepted Solution

Jamsb earned 500 total points
ID: 21859285
It can easily be done via notepad. Simply open Notepad press return then do File --> Save

Author Comment

ID: 21859392
Ah, notepad just doesn't recognize it when you open the file again but it does exist. Okay.

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 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