I use LinuxCNC a I mentioned and have even used bluetooth to transfer engraving gcode files from my phone.Rightly or wrongly I believe selecting a single file for transfer is less liable to let nasty stuff in than activating wifi.On other occasions I have used the same computer to create the files as it has a version of Freecad loaded and that can be done in complete isolation.