on 09-15-2008 5:15 PM
Hi
Please let me know the FTP command to append the two .CSV files into one .CSV file.
e.g.
Let me explain:
one CSV file has the fields F1 , F2, F3 , F4 and has 5 records
another CSV file has the same sequence of fields F1, F2, F3, F4 and has 10 records
after appending both the files , I must get 15 records.
Thanks
Alok
There is no FTP command to do this (FTP is used to transfer files from one system to the next).
You can however do
cat <fistfile> >> <secondfile>
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again for your information.
I cant try out any command as I am not authorized for that. Also I dont have vast knowledge of FTP concept. So based on my first thread please answer and make me assure that CAT will work according to the requirement.
If u have any doubts on my req then let me know
Alok
Edited by: Alok Kashyap on Sep 16, 2008 1:00 PM
Ok I will try out.
I am illustrating my requirement as follow
File#1 (type .CSV)
F1 F2 F3 F4
100 566 89 86
235 256 56 12
File#2 (type .CSV)
F1 F2 F3 F4
56 56 98 102
12 23 36 523
23 56 56 89
Now we want to Append File#1 to File#2 as follow:
F1 F2 F3 F4
100 566 89 86
235 256 56 12
56 56 98 102
12 23 36 523
23 56 56 89
Please suggest now that which command would be appropiate.
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.