You can send files from SWAN terminal, console, and notebooks using the FileSender command line tool, which is pre-installed.
The examples below are sending files datafile1.bin and datafile2.bin.
Terminal
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)