[Gllug] Controlling ftp from a program/commandline

Nix nix at esperi.org.uk
Fri Oct 1 06:49:28 UTC 2010


On 1 Oct 2010, Tethys verbalised:

> --------
>
> salsaman at xs4all.nl writes:
>
>>Any suggestions how to get it to do what I want, i.e write to the stdin of
>>ftp ?
>
> popen(3)?

Or, if it insists its controlling terminal is a TTY, you could do as
script(1) does and use a PTY. This starts to get kind of irritating
fast, though.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list