Thanks to all for the feedbacks. I will go with just FTP login and probably do a
ls or dir or look for a file which don't exist in the ftp server and check it out.
I will update the forum with the results.
On Feb 5, 2008 1:50 PM, Amlan Das < das.amlan  gmail.com" >das.amlan gmail.com> wrote:
Well , its 2 different processes
1) One actual FTP is done every 3 or 6 months by users
2) Second one is just a keep alive function running as an oracle job.
# If just logging in and login out with FTP account does the trick, nothing like it. I hope it will do
# Else,
every week or month, run through oracle job
FTP login
login successful, then look for a file
file not found
logout
Atleast , i'm hoping that one of the two will be considered some "activity" by Unix and keep the account alive.
Also, can do an ls after FTP login
thanks
On Feb 5, 2008 12:25 PM, Joel Kallman < joel_kallm an yahoo.com" target="_blank">joel_kallman yahoo.com> wrote:
Amlan,
Maybe I'm missing something, but why don't you have your ftp process cleanup before you actually transmit the file. That way, it's always clean.
Also, what defines 'activity'. Is simply logging in considered activity? If so, then just have your "keep alive" job login, do an 'ls9; and quit.
Joel
Amlan Das < das.amlan gmail.com" target="_blank">das.amlan gmail.com> wrote:
Hi All
I need help to a problem I face. I have described my solution and need some feedback if this is going to work or if any better solutions.
I am not sure if this is going to work or just logging into FTP server and doing a directory listing every month through a job will also work.
Problem description:
Every three months or 6 months, FTP user account is used to transfer a feeder file to a remote server through pl/sql packages as
part of business. But the FTP user account expires if inactive for three months as set in the security policy. The security folks will not
change the security policy. My goal is to keep the FTP user account alive even when there is no business activity.
My Solution:
I log into FTP user account every month running as an Oracle Job and FTP a dummy file to the server.
This will ensure some activity every month and will keep the account alive. But this also means removing the dummy file each time.
I am sending this out to multiple groups, hoping somebody will provide some feddback.
Thanks and regards
Amlan
-- Amlan
-- Amlan
|