Connecting to ftp site from X3 Code

Is there a way to connect to an ftp site, and download files to the local X3 server, from within native X3 code?  Has anybody every done this?