I’ve written a program that will run a simple psychology experiment in windows/osx. The data are saved in .txt files. I’d like to have these files automatically upload to a server via FTP.
Previous posts suggest it is easiest to do such FTP transfers via the command line, but I can’t see an obvious way to open another program (more specifically, a command line window) from my windows/OSX program and write to it.
Could anybody give me an example of how to do this?