Re: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread Jack van Zanen
Hi, Never tried it but feeling creative today How about rsh to the remote machine to start a script that does the long listing and ftp's back to your machine Jack Nancy McCormick [EMAIL PROTECTED]@fatcity.com on 01-03-2002 16:08:40 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL

RE: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread marmstrong
I wrote some shell scripts that do something similar. Here is the sequence of events: On host running the control process, run a script that resides on remote server containing the logic to generate a file with the information needed using rsh command. This remote script would also contain logic

RE: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread Nancy McCormick
I finally got the ls -l command with ftp working. It didn't like having the remotedirectory specified so I just do a cd to the remote directory and then ls -l with the local file name. Here is a snippet from the script I am running right now # set variables SITE_DIR=$1; export SITE_DIR .