AS400 and Remote Commands
Solution 1:
Unless you want to write a simple Java program using JT400, FTP is probably your best option.
If you want other options, post a message on MIDRANGE-L there are around 2,000 people on the list many whom have done this before.
Solution 2:
IBM i has a rexec service that you could try using.
To start it, run 'STRTCPSVR SERVER(*REXEC)'
I've never used it myself, but it should work with any rexec client.