FTP - TechRepublic
General discussion
January 24, 2001 at 06:51 AM
it1

FTP

by it1 . Updated 25 years, 4 months ago

We receive files with our Sun Solaris box and want to forward them to our HP 3000 (MPE 5.5) via ftp. The application will automatically run a shell script but due to fact that I can not write anything that will allow me to log on to the HP 3000, I have to ftp these files manually. For example, in my shell script I have the following:

#!/bin/ksh
ftp ###.###.###.###
user useraccount
put file

It seems that I will need a command somewhere between the first and second line that will allow the HP 3000 to wait for the input of the shell script. Anyone see where I’m falling short? Thanks

Brian

This discussion is locked

All Comments