02-04-2019 02:06 AM
I have .xlsx file on remote server. My requirement is to load the file content into an oracle table.
Any help is appreciable, Thanks in advance.
02-05-2019 11:41 AM
The easiest way to do this is to use a combination of these Snaps:
File Reader > Excel Parser/Formatter > Oracle Insert
The File Reader Snap supports reading data from a variety of remote systems.
The Oracle Insert Snap can be used to load data from the upstream source into the Oracle table. Alternatively, for bulk data loading requirements, you could use the Oracle Bulk Load Snap
02-05-2019 11:52 PM
Thank you sriram.
I have gone through parameters of File reader snap, it supports different protocols but I had below query:
a) server path I am accessing is like : \\Rsc.aaaa.com\rdrive\D00\AllDept\SHARED\ComRead\MA\2018
in the snap Settings >File syntax is - ftp:// “path”
I am giving as ftp:\\Rsc.aaaa.com\rdrive\D00\RRRRRR\SHARED\ComRead\MA\2018
the snap is throwing error.
b) There are many files in that path, I want to read only a single file and the name of file is dynamic(changes periodically but will have a specific pattern). I don’t find an option in the file reader snap to mention file name, please suggest on this
02-08-2019 04:10 PM
Are you attempting to access resources from an FTP server that has been mounted on a Windows server? And, is the error about authentication / connection failure? If yes, you will have to create a “Binary > Basic Auth” account and reference it in the File Reader Snap.
02-13-2019 03:09 AM
Thanks sriram, I have modified my query.
I am able to read the file using File reader snap, but I am unable to read the contents of document.
my required file is in tab- “content-disposition”
Please guide how to fetch the document further and extract data from specific sheet of the workbook.As you have mentioned , I tried connecting excel parser/formatter to file reader snap but couldn’t as there is mismatch on type of snaps.