Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8070713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:29:27+00:00 2026-06-05T13:29:27+00:00

I am planning to request the users of the my web application to submit

  • 0

I am planning to request the users of the my web application to submit bulk data in the following format.

BatchID:1
TotalRecords:200

Cust:CustID~FirstName~LastName~Age~Dob~City~State~Country
1~John~Abraham~35~10/10/1974~New York~NY~US

Order:OrderID~CustID~Qty~Amount~DOS
1~1~10~100.00~1/1/2012
2~1~100~1000.00~1/1/2012
1~1~10~100.00~1/1/2012

OrderDet:OrderDetID~OrderID~Reg1~Remarks
1~1~12393A~Testing order
2~1~23123B~tesitng order 1

Above shown is just a set of records. One flat file will have upto 200 files.

Do you think this is a right way of doing it? We need to allow batch upload so that users need not enter each record at a time from the website.

If you can think of any other format that will be of great help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:29:29+00:00Added an answer on June 5, 2026 at 1:29 pm

    XML with a defined schema would be a nice choice.

    A couple problems offhand with your format:

    • What happens if the remarks contains a ~? eg. Test~ing Remarks. How to escape this?
    • Are the users of your application all in the same locale? Will they all expect to enter dates as Month/Day/Year? Or will it be Day/Month/Year? Are these UTC dates?
    • Do you need to quickly determine if the user entered “invalid” data (e.g. missing required fields?)

    There are well known XML tools to help with validating what the user is uploading. It’s worth considering…

    I’m not a huge fan of CSV but at least there are well known tools to work with it. however, as I recall there is some variation in the CSV formats. For example, How to escape the comma? Is it by putting the string field in double quotes eg. “My first, second, third” etc. Is it by using \,? etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently planning a web based application, which needs to do long calculations
I am planning on writing a medium size web application that will be XML
I'm hoping to write a custom data model for my web application that exists
I'm planning a chat-like web application, where whenever one user posts something, all other
Currently planning on making the installation process for a .NET application I'm selling smoother
I planning to split my systems into front-end and back-end. Currently my application directly
I planning on reading profile data from a xml file in JSP. Now i
I am planning on using Apache Tomcat 6.0 as web server in my web
I am planning to write a service to enable Android users to listen to
I am planning to allow users to generate .POT files/.PO files through a PHP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.