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
. DWH.EN
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 t
1. I can run the ls command inside of FTP with the -al parameters and I get
then entire file list WITH the size parameters.
2. I can run the rsh command with the ls -al command and I get the remote
information as well.
So ... first, try the ls -al command inside of FTP to see if you get the
full
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:[EM
This may be a little off topic so I apologize in advance. But I have seen
some good Unix scripting help come across lately so I thought I would go
ahead and send this.
I am trying to setup a Unix script that will logon to a remote server, get
the name and size of all the files in a remote direct