On Thu, Nov 26, 2009 at 3:44 PM, Ian Clark <[email protected]> wrote: > I need a routine to upload a given file (or better: a J character > string) to a remote FTP site.
I'd recommend cURL, for it's really well written. The simplest might be to spawn the standalone curl program, with arguments somewhat like curl -T local/file/name -u remoteuser ftp://remote.host/remote/path (read the documentation). Replace local/file/name with a lone hyphen to read the file contents from standard input. Alternatly call the library functions directly. If you don't have curl installed yet, you can download it from "http://curl.haxx.se/". Ambrus ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
