I want to ftp a file in a non-interactive way from a Nt machine [ftp server is installed in NT machine]
ie. something like this.. in a single line
The foll. will be invoked in a unix system
$ ftp <ip addr> user <username> password <passwd> get filename
There is a tool "expect" using which we can put our commands in a file and "expect" will take care of the rest. Other than this, ie. without using expect , is there a way to do this, using shell commands alone?