Thanks, guys. That's given me a choice of ways forward. Jorge: at first sight that looks the sort of thing I was thinking of. I'll try it out on the websites I control.
Ian On Thu, Nov 26, 2009 at 7:58 PM, Zsbán Ambrus <[email protected]> wrote: > 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
