Skip to main content
Solved

Connect to Zip file


Forum|alt.badge.img
  • Contributor
  • 26 replies

Hello

I am wondering, how can I connect to Zip File? I searched and asked Xpilot and then I get this answer: To connect a Zip file in TimeXtender, you can use the "File" data source type. But I couldnt find File datasource. Has the name changed or is there another method?

Best Regards

Best answer by Thomas Lind

Hi @ebay 

If you have CSV files located in the zip files, the CSV provider is actually able to look at the files and pull out the files.

You can control it in the field called IncludeFiles.

https://cdn.cdata.com/help/RVG/synch/default.htm#RSBCSV_p_IncludeFiles

Additionally it will only work when you are also using the Aggregate files feature.

So if your zip files contain more than one type of file, you will need to specify the unique part like so.

IncludeFiles=<part name of file>*.csv,zip.

If you are not connecting to csv files, but something else the other CData providers that connect to files such as xml and json may work the same way, only it of course do not have the aggregate files option.

View original
Did this topic help you find an answer to your question?

2 replies

rory.smith
TimeXtender Xpert
Forum|alt.badge.img+7
  • TimeXtender Xpert
  • 662 replies
  • July 20, 2023

Hi @ebay,

 

I am not aware of any sources being able to look inside zip files. CData Arc does have a Zip Connector, but that is not part of the set of connectors exposed in TimeXtender.


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1035 replies
  • Answer
  • July 31, 2023

Hi @ebay 

If you have CSV files located in the zip files, the CSV provider is actually able to look at the files and pull out the files.

You can control it in the field called IncludeFiles.

https://cdn.cdata.com/help/RVG/synch/default.htm#RSBCSV_p_IncludeFiles

Additionally it will only work when you are also using the Aggregate files feature.

So if your zip files contain more than one type of file, you will need to specify the unique part like so.

IncludeFiles=<part name of file>*.csv,zip.

If you are not connecting to csv files, but something else the other CData providers that connect to files such as xml and json may work the same way, only it of course do not have the aggregate files option.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings