We struggled with the email thing about two versions of ICON ago. And early
on, it would only send a PDF. So we distribute data a little differently
and some of these ideas might be of use to you. We actually have three
mechanisms for distributing data to various users. Let me say, I am not a
computer or networking person. I know just enough to get myself into
trouble but not enough to always get out of it. So I have relied on
various IT people to develop the mechanisms we use here. In all cases, I
make copies of data on other servers so that (a) no one is directly
accessing data the computer that runs the NMR (this keeps the data intact)
and (b) I can keep the NMR computer behind a local firewall - the security
is not 100%, but it cuts down on the external traffic and we do have a
number of users from off-campus. So we use Samba, SFTP access and web-based
access to data.
For Samba and SFTP, I have an external server that is just a data
repository. I use the Archive checkbox on the ICON user configuration page
to make a copy of every data structure on that server. To do this, we use
NFS to mount the repository server on the NMR computer and then ICON can
write directly to user directories on the repository server. The
documentation on using Archive in ICON was not detailed enough for me
initially, but between myself, our IT person and someone in applications at
Bruker, I was able to figure that out.
For our clients who are not on campus they access their data on this
repository by logging in with a GUI SFTP client program which allows them
to download entire folders intact. Our students access the data using a
Samba server which is very easy to set up under a Centos (or any Linux
really). And it works cross platform for our students with Macs or PCs.
Mind you the ease comes from the fact that all our undergrads use a single
user code and it is their responsibility to know which data file number is
theirs.
The third mechanism took a little programming by someone who is no longer
here. Basically, we have a couple of scripts (which I could share to
someone who can parse Perl) that (a) zip up an entire set of directories
and transfer it to a web server and then (b) extracts this set of
structures, parses them, and zips up each individual data structure into a
separate file that is saved into an open space on a web server. You just
need to know while file# is yours to click on it and download that data.
If you are interested in more details of any of these, I would be happy to
provide them.
Alex
On Wed, Mar 22, 2017 at 11:18 AM, Kenneth Knott <kknott_at_vt.edu> wrote:
> So I've gotten email working using ICON in Topspin, but we have many users
> who work 'manually' in Topspin. From what I've learned from Bruker, there
> is a command called 'smail' that will zip your data and then open your
> default email client to send it to you. Unfortunately it does not use smtp
> like ICON does.
>
> I have not been able to get his to work. In Centos 7 it keeps telling me
> I have no email client. Thunderbird is installed.
>
> In Windows, it get's a bit further but still fails to open the email
> client.
>
> What would be ever so simple is if it would use smtp as it does in ICON to
> send the zipped data file. Has anyone figured out how to do this or
> programmed a script to use 'tozip' and smtp?
>
> Thanks,
>
> --
> Ken Knott
> Department of Chemistry
> Analytical Services
> Virginia Tech
>
> (540)267-6502 <(540)%20267-6502> (Cell)
> (540)231-0885 <(540)%20231-0885> (Office)
>
--
Alexander Grushow, Ph.D.
Professor & Chair
Department of Chemistry, Biochemistry & Physics
Rider University
Lawrenceville, NJ 08648
ph: 609-896-5095
Received on Wed Mar 22 2017 - 10:08:16 MST