Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 1996 18:32:37 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        hackers@freebsd.org
Subject:   Running FTP as a slave process ...
Message-ID:  <199604300902.SAA20627@genesis.atrad.adelaide.edu.au>

next in thread | raw e-mail | index | archive | help

This is actually a bit more of a general question than the subject suggests.

I have a program that wants to shift stuff around using FTP.  
(It wants to put, not get, so the ftp stuff in sysinstall isn't any help).

So, I fork off a copy of /usr/bin/ftp -n and talk to it.  It does 
everything that I tell it to, which is fine.

BUT

I want to see whether what I've transferred has made it.  So I issue an
'nlist <blah>' command.  Oddly enough, it gets written by the slave, 
but doesn't immediately show up at my end; in fact it's not until I
ask the slave to quit that I hear it.

If I had more time, I'd investigate further, but has anyone else done
this before, and what results did they get?

Ta (kinda tired and rushed...)

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604300902.SAA20627>