Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Qlik Community,
We have a project that will perform the scheduled and automated movement of Excel spreadsheets from a Linux environment to a Windows folder. I have some questions for the community about how to go about completing this.
What would be appropriate tools/software for performing this project? We need files that will follow a naming convention placed into the same directory on a Linux device, to be moved without intervention onto a windows device.
What budget is necessary to set up such a project?
What personnel are necessary to fulfill this project?
What level of effort would you expect in terms of days/weeks/months should it take to complete this?
Thanks for your assistance, I know this isn't a specific QlikView question, but eventually the file that is transferred would be used as a source input for a Qlik application.
Hi Evan,
It's difficult to answer this question without more details. The question really needs to be answered in the context of your requirements and environment. Areas that would need to be given consideration would include (but are not limited to):
The most basic way to set this up would probably be using scp and a cron job on the unix box, or you could use sftp or some other mechanism. What is the right choice will depend on your environment. E.g. if the files are exposed from the unix server via an SMB share, you could just use robocopy to move them from the SMB share to the windows server. If it's http, you can use CURL. Depending on how the files are exposed, you could potentially even just load them directly into QV, or download them using a script in QV load script (shelling out).
I would expect this to take hours or days, not months, but depends on the quality of the resource implementing it, their experience, and your requirements.
Regards,
Graeme
Hello Graeme, Thank you for your response. If I could maybe add some parameters, the security requirements internally are none. If this could be automated by an individual user, that is sufficient (but Autosys might be a "formal avenue"). No error handling (it would be nice to have, but for now any means of automation is better than none). The transport methods available is Connect::Direct? It would initiate from the Unix side.
- do you really need to move the files from the unix environment, or if you can just read them into QV on the fly would that be sufficient?
Reading the source files in place would be optimal, but how would that be achieved? Does that require the SMB share option? That may not be a permitted avenue in our environment, as far as I'm aware we have SFTP (which doesn't have automation avenues available), or we can use Connect::Direct which gets paired with Autosys? Do any of these sound familiar?
Hi Evan
I normally use a simple *.bat file (from windows) with some MS DOS commands (or PowerShell if is more complicated)
From time to time I used Talend (is an ETL software), is easy to use. https://www.talend.com/resource/etl/
Regards
Hello Jose, I guess the premise in that .bat file is there is a copy command which can reach a Linux device. One of the issues here is that in our environment, we aren't allowed to mount a Linux drive in the context of a windows device. For example, a copy command that went: COPY LinuxPath WindowsPath. I don't think we have that as an available option.
Hi Evan
And from Linux is possible to do it?
Another solution I´m thinking is to use a synchronization tool like dropbox or something like this but with app for windows and linux.
Regards
Not sure. Looks like without being able to mount any cross-platform directories, or use any of the cross-platform utilities, this is just a non-starter.
At the end of this page, explain how to use rsync
http://lifehacker.com/372175/free-ways-to-synchronize-folders-between-computers
at some point, Microsoft solved this problem for Windows devi es.
while moving files around a windows network is a bunch of complicated steps, the steps presented to the end user are pretty simple.
you mount a folder, and then you can cut/paste or drag drop.
I'd like to believe there's a similar technical solution possible between *nix/Windows devices. I've seen it advertised as easy as a mounted folder, but for whatever reasons sometimes the most convenient options are the ones least accessible. Ironic!