Menu

Unable to retrieve Export File Type CSV

Help
Rob Couch
2023-03-15
2023-03-16
  • Rob Couch

    Rob Couch - 2023-03-15

    I have a FoxPro claim.dbf

    I have DBConvert in a directory.

    I have move the claim.dbf into root dir of DBConvert.

    I have tried:
    java -jar DBConvert.jar claim CSV
    sudo java -jar DBConvert.jar claim CSV

    I have tried many variations of CSV.... see image of terminal session.

    Seems to be very straight forward command line. but does not work.

     
  • Tom van Breukelen

    Hallo Rob,

    Sorry to hear that you have problems with exporting your Foxpro file. The correct syntax for exporting files in batch mode can be found in the command file DBConvert_batch.sh

    Which is:
    java -jar DBConvert.jar [Profile Name] [Export Type]

    Where:
    Profile Name= the name that you used in DBConvert to identify your file export.
    Export Type = the DBConvert Export file type

    In the profile you define where your Foxpro file is located, what you want to export from it and to which export file type you want to exporting it to. The file type in DBConvert for CSV files is "Text File".

    So if your profile is called "claim" and your are exporting t to a CSV file than this should work:
    java -jar DBConvert.jar claim "Text File".

    Best regards,
    Tom

     

Log in to post a comment.

MongoDB Logo MongoDB