List Info

Thread: Re: Keep alive inactive FTP user account




Re: Keep alive inactive FTP user account
country flaguser name
United States
2008-02-06 12:40:35
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.amlangmail.com">das.amlangmail.com> wrote:
Well , its 2 different processes
1) One actual&nbsp;FTP is done every 3 or 6 months by users
2) Second one is just a keep alive function running as an oracle job.
&nbsp;
# If just logging in and login out with FTP account does the trick, nothing like it. I hope it will do
# Else, ;
   ; &nbsp; &nbsp; &nbsp; every week or month, run through oracle job
&nbsp; &nbsp; &nbsp;   ;  FTP login
&nbsp;   ; &nbsp; &nbsp; &nbsp;login successful, then look for a file
&nbsp; &nbsp;   ; &nbsp;  file not found
&nbsp;   ; &nbsp; &nbsp;  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
&nbsp;

&nbsp;
On Feb 5, 2008 12:25 PM, Joel Kallman < joel_kallmanyahoo.com" target="_blank">joel_kallmanyahoo.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'.&nbsp; Is simply logging in considered activity?&nbsp; If so, then just have your "keep alive"; job login, do an 'ls9; and quit.

Joel


Amlan Das < das.amlangmail.com" target="_blank">das.amlangmail.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.
&nbsp;
Problem description:
 ; &nbsp; 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
&nbsp; &nbsp; part of business.&nbsp;But the FTP user account expires if inactive for three months as set in the security&nbsp;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:
 &nbsp;  I log into FTP user account every month running as an Oracle Job and FTP a dummy file to the server.
 &nbsp; This will ensure some activity every month and will keep the account alive. But this also means removing the dummy file each time.
&nbsp;
I am sending this out to multiple groups, hoping somebody will provide some feddback.
 
Thanks and regards
Amlan


Looking for last minute shopping deals? Find them fast with Yahoo! Search.




--
Amlan



--
Amlan
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )