converting csv to csdb in the server
Posted: December 7th, 2024, 7:08 am
Hi folks,
I´m receiving a csv file stored in the server, and I need to convert it to a csdb file, in the server.
What I´m trying to do now is a little bit ackward, in four steps, such as:
1. syncfile with a GET to download the csv file.
2. an excel macro to read the csv and convert it to a xlsx file
3. the excel to cspro utility, converting the xlsx file to csdb
4. syncfile with a PUT to upload the csdb file
Is there a more direct way to execute that?
Another question: Is ther a way to delete (or clean) a csdb file in the server, like using a clear parameter in the syncdata command, or something like that? In other words, how can I start fresh a csdb file in the server, using the cspro language, instead of having to go to the server by hand, delete the csdd file, and then create a new dictionary again?
Best
Ari
I´m receiving a csv file stored in the server, and I need to convert it to a csdb file, in the server.
What I´m trying to do now is a little bit ackward, in four steps, such as:
1. syncfile with a GET to download the csv file.
2. an excel macro to read the csv and convert it to a xlsx file
3. the excel to cspro utility, converting the xlsx file to csdb
4. syncfile with a PUT to upload the csdb file
Is there a more direct way to execute that?
Another question: Is ther a way to delete (or clean) a csdb file in the server, like using a clear parameter in the syncdata command, or something like that? In other words, how can I start fresh a csdb file in the server, using the cspro language, instead of having to go to the server by hand, delete the csdd file, and then create a new dictionary again?
Best
Ari