Sending a SO to an ftp site from within Sage X3

I've worked with web-service and imports a lot, but not too much with exports. The requirement here is I need to export the SO whenever it is created in X3 to a particular 'ftp' location & also I need to know how to define that ftp location in x3. Is there a way to connect to an ftp site, and send the files there from within X3? With code or functinality...