Quote:> I'am trying to copy a text file from a Unix system to my pc with
> microsoft Web server and I want to automate the process is it possible
> to automate the copying of the file to my ftp server? using RCP or any
> other command. Please let me know.
> TIA,
> Cory Brown
Hi Cory,
You may want to simply add nfs or NT file/print services to Unix. Samba is
a non-commercial way to go. Then your PC simply sees the Unix box as a
network share.
We do a lot of rcp from Unix to Unix, but not to PC. I have seen some PC
based remote shell products in packages such as Novell Lan Work Groups Pro,
but these can be expensive.
If security is not a big deal, a batch driven ftp might be nice.
This will work using Windows 95 ftp.
Create a text script file with the following. I use ftp.server.com as an
example. You can also
use an IP address.
open ftp.server.com
user cory
mypassword
get /home/cory/file
quit
The command to run this is:
ftp -n -s:script
where script is the name of the script file above.
You will need some sort of scheduler to automate this. It could be run as a
cgi of of Web pages. You can use your Unix man pages for more info on these
switches. A neat one is the -i to turn of interactive prompting with mget.
Good Luck,
Jake