06-08-2017 02:48 PM
File Transfer Module
Need to automagically copy files to network shares on a schedule.
can use cron... not easy for end users to reconfigure
06-08-2017 02:51 PM
What transfer protocol(s)?
Would all files in a particular directory (or subdirectories thereof) work, or would you also need some form of regex match?
One destination or multiple?
Delete after transfer option?
Authenticated?
...what else?
06-08-2017 03:10 PM
Yes.
06-08-2017 03:15 PM
JK
FTP and something to get us to a network shared folder.
I'm OK with backing up a whole directory. I'm a bit fuzzy on the whole what happens if it's a TDMS file that is still being written to...
It'd be nice to setup multiple jobs in a single module and configure schedule per job.
That way, if we needed one to many, we could just setup multiple jobs.
Delete after transfer is a bonus but only if it can be smart enough to not delete open files. Particularly TDMS - I know from running out of disk space that TDMS files that aren't closed get gross.
Authentication would be necessary for it to be useful.
Thanks for the response!
06-08-2017 03:18 PM
Re: TDMS files, the usual approach is to have the logging module write to the active files in a different directory, then when a file is complete and closed, move it to a transfer staging directory. That way the transfer process only ever has to care about files in its directory, and outsource the closing and moving logic to other processes.
06-08-2017 03:20 PM
doh..
06-14-2017 10:10 AM
Get Target VI that can be used in an Editor Configuration UI. Similar to Get Engine. I'm trying to have a configuration query the target OS for validation of some configuration.
06-14-2017 12:20 PM
FYI, the TDMS module does this now to decide whether to show a string or path control depending on target. Can steal that for now, but agree on having this in core.
06-15-2017 08:49 AM
Awesome!
I've already implemented it on my end as well. I'll check out what you've implemented and compare. I just thought I'd poke you all about adding the function in a more permanent fashion.
Thanks for the quick follow up!