Follow

Can I use FileSender from SWAN?

Yes, each Notebook has the FileSender command line tool already installed.

In the examples below we are sending files "datafile1.bin" and "datafile2.bin"

Terminel:

filesender -p --username=<> \
              --apikey=<> \
              --recipient=< \
              -s "FILESENDER FROM SWAN NOTEBOOK" \
              -m "this is the results of the data processing" \
              datafile1.bin datafile2.bin

Python3 Kernel:

!filesender -p --username=<<your email>> \
                --apikey=<<your api key>> \
                --recipient=<<email address to send to> \
                -s "FILESENDER FROM SWAN NOTEBOOK" \
                -m "this is the results of the data processing" \
                datafile1.bin datafile2.bin

R Kernel:

system('filesender -p --username=<<your email>> --apikey=<<your api key>> --recipient=<<email address to send to> -s "FILESENDER FROM SWAN NOTEBOOK" -m "this is the results of the data processing" datafile1.bin datafile2.bin', intern = TRUE)