ftp doubt

From: Govindaraj, Senthilnathan <Senthilnathan_Govindaraj_at_bmc.com>
Date: Thu, 10 Aug 2000 06:26:17 -0500

Hi,
        I have a doubt. Can a user suppress interactive mode of ftp? I will
brief below what exactly I want.

With in a script file say sample.sh I have given the following commands.

ftp <hostname> # Host entries have made in the .netrc file
bin
cd <specific directory path of the remote machine>
put <filename>
bye

If I execute the file sample.sh, ftp session should open & transfer the
file. It should not prompt for input.

Is it possible? if not, is there any other way to implement this??? Please
let me know.

Thanks,
Senthil.
Received on Thu Aug 10 2000 - 11:28:27 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT