[comp.unix.questions] FILE TRNASFER WITHIN PROGRAMS

rao@cerc.wvu.wvnet.edu (Rao Tummalapalli) (08/15/89)

	
	Hi,
	
		I would appreciate any info. on transferring files across
	machines on internet, within programs.  I know that I can use 'ftp'
	and 'rcp' interactively.

		I want to do the transfer from the programs with a function
	call with remote & local filenames as arguments (The filename is a 
	combination of hostname and path just as in rcp).  It can be assum-
	ed that the username is same on remote and local machines, although
        eventually root privileges may be assumed on both local and remote
        machines.

		Please send email to  rao@cerc.cs.wvu.wvnet.edu.
	
							Thanks alot,
							    Rao.

barnett@crdgw1.crd.ge.com (Bruce Barnett) (08/16/89)

In article <195@cerc.wvu.wvnet.edu.edu>, rao@cerc (Rao Tummalapalli) writes:

Anette DeSchon <deschon@venera.isi.edu>
wrote a program called bftp for batch FTP.

She also has an FTP tool for sunview.


You can also have a schell script do:
ftp -n $machine <<END
user anonymous ftp
get $file $bfile
quit
end

--
Bruce G. Barnett	<barnett@crdgw1.ge.com>  a.k.a. <barnett@[192.35.44.4]>
			uunet!crdgw1.ge.com!barnett barnett@crdgw1.UUCP

davidsen@sungod.crd.ge.com (ody) (08/17/89)

There is a batch ftp program from simtel20 if that's all you want to do...
	bill davidsen		(davidsen@crdos1.crd.GE.COM)
  {uunet | philabs}!crdgw1!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me