Re: [Jgeneral] Does anybody have FTP code in J?

2007-02-27 Thread Raul Miller

On 2/27/07, bill lam <[EMAIL PROTECTED]> wrote:

FTP is very simple.  I think that you can write a working FTP client in J by
reading its RFC.


Yes, and I understand that can be quite instructive about
what it's possible to do with the protocol:

A friend once wrote an APL implementation of FTP, and
after that he repeatedly surprised me with new and different
ways of using FTP.

--
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] Does anybody have FTP code in J?

2007-02-27 Thread bill lam
FTP is very simple.  I think that you can write a working FTP client in J by 
reading its RFC.


Henry Rich wrote:

I need to send some files from an app via FTP.  Does
anybody have J code for this?

An OK alternative would be an interface to an absolutely $0
shareware FTP client.

Failing that, if anybody knows of a $0 shareware FTP I'll
try to interface J to it.

Henry Rich

--
For information about J forums see http://www.jsoftware.com/forums.htm




--
regards,
bill
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] Does anybody have FTP code in J?

2007-02-26 Thread Bill Harris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Henry Rich" <[EMAIL PROTECTED]> writes:

> I need to send some files from an app via FTP.  Does
> anybody have J code for this?

Any reason not to use scp or perhaps rsync instead?  You get added
security with those.  They're both available with cygwin, and I would
imagine OS X would have them, too.

Bill
- -- 
Bill Harris  http://facilitatedsystems.com/weblog/
Facilitated Systems  Everett, WA 98208 USA
http://facilitatedsystems.com/  phone: +1 425 337-5541
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFF485v3J3HaQTDvd8RAkcIAJ9upTOBrkjSI57pSk0ctCQ/axabjgCdGFwv
9E9cYP0RMbFp5jRWv7HEoMw=
=t0MX
-END PGP SIGNATURE-

--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] Does anybody have FTP code in J?

2007-02-26 Thread Oleg Kobchenko
And of course you can use task or shell foreign
from J to do it. See pacman.ijs for examples.


--- Raul Miller <[EMAIL PROTECTED]> wrote:

> Cygwin includes an ftp client.
> 
> For that matter, windows includes an ftp client (it's
> undocumented, but for the most part it's a strict
> subset of the cygwin ftp command, so you can
> use the cygwin documentation for it with a bit of
> experimentation).
> 
> If I recall correctly you can do something like
> ftp -n  were commands is a text file that might look something like:
> 
> open host
> user username password
> cd directory
> put file
> put file
> get file
> get file
> bye
> 
> -- 
> Raul
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] Does anybody have FTP code in J?

2007-02-26 Thread Raul Miller

Cygwin includes an ftp client.

For that matter, windows includes an ftp client (it's
undocumented, but for the most part it's a strict
subset of the cygwin ftp command, so you can
use the cygwin documentation for it with a bit of
experimentation).

If I recall correctly you can do something like
ftp -n http://www.jsoftware.com/forums.htm