Thanks PHV - making lots of progress here.....
Now, I am trying to interogate the results of the ftp_result_$uid file and am not having good luck.....
I have tried putting the block of code (below) above and beneath the Done command. Neither one worked....
set UNKNOWN_HOST = `grep -i...
The u is coming from $uid. If you read the top of this thread, you will see that the uid field is being populated from a read of a datafile which contains the
machine name, userid, password, filename fields.....
I trying to allocate the ftp status file with the userid ($uid) as part of the...
LKBrwnDBA - Thank You.. - You the Man.....
I was able to route the results of the FTP to a log file for ftp succcess inspection by
changing the last line to read
ftp -vs </tmp/ftp.cmd >> ftp_result
However, when I tried to label this file with the user id (uid) variable i didn't have any...
LKBrwnDBA - That worked out really well... Thank you.......
How would I need to modify the script if I wanted to append a date/time stamp onto
the script instead of the IP address???
Thanks again -
StartingUnix
Hi LKBrwnDBA -
Thanks for the reply.... It is not clear to me how/where the script references the ip-password file...... In other words, which command feeds the password file into the script........
Additional help is appreciated.....
StartingUnix
I need to logon into an FTP server under different user names, passwords and retrieve one or more uniquely named files per FTP account. Ideally, I would like to sequentially store the user name, password, and filename information in one file like:
(machine1) (user1) (pass1) (file1)
(machine2)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.