Unix Technical Forum

Question concerning AIX ftp command

This is a discussion on Question concerning AIX ftp command within the AIX Operating System forums, part of the Unix Operating Systems category; --> We are using shell scripts and .netrc files to initiate ftp connections within our Oracle Applications evironment. Periodically, we ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 08:12 PM
bsc7080mqc@mylxhqremove.com
 
Posts: n/a
Default Question concerning AIX ftp command

We are using shell scripts and .netrc files to initiate ftp
connections within our Oracle Applications evironment. Periodically,
we have jobs that simply hang. It usually revolves around an FTP
server that is not responding. I have developed an alternate solution
that utilizes a built in UTL_TCP coding with in the Oracle Database
and it works well, and it happens to have a transfer timeout option.
As a default it was set to NULL meaning never ending. I changed the
parm to a default of 2 minutes. If the ftp server hangs for some
reason,the ftp session fails and terminates.

I want to emulate the same functionality in my shell scripts, but I
can't find a matching parameter that allows me to control the timeout
for ftp connections at the AIX ftp commandline level. I saw that you
can set daemon parm for the respective ftp server that would control
timeout, but I need a solution that works in the shell script (korn
shell by the way). Something that watches our ftp connection and fails
the shellscript if the ftp session timesout...

Hope I am clear enough in my request.
MylxHQ - Oracle Resource Portal
http://oracle.mylxhq.com
bsc7080mqc@mylxhp.com
(replace mylxhp with mylxhq to reply/contact)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 08:12 PM
Nicholas Dronen
 
Posts: n/a
Default Re: Question concerning AIX ftp command

bsc7080mqc@mylxhqremove.com wrote:
bmmc> We are using shell scripts and .netrc files to initiate ftp
bmmc> connections within our Oracle Applications evironment. Periodically,
bmmc> we have jobs that simply hang. It usually revolves around an FTP
bmmc> server that is not responding. I have developed an alternate solution
bmmc> that utilizes a built in UTL_TCP coding with in the Oracle Database
bmmc> and it works well, and it happens to have a transfer timeout option.
bmmc> As a default it was set to NULL meaning never ending. I changed the
bmmc> parm to a default of 2 minutes. If the ftp server hangs for some
bmmc> reason,the ftp session fails and terminates.

bmmc> I want to emulate the same functionality in my shell scripts, but I
bmmc> can't find a matching parameter that allows me to control the timeout
bmmc> for ftp connections at the AIX ftp commandline level. I saw that you
bmmc> can set daemon parm for the respective ftp server that would control
bmmc> timeout, but I need a solution that works in the shell script (korn
bmmc> shell by the way). Something that watches our ftp connection and fails
bmmc> the shellscript if the ftp session timesout...

This isn't a question about AIX. Please post this question to
comp.unix.shell.

Regards,

Nicholas

--
"Why shouldn't I top-post?" http://www.aglami.com/tpfaq.html
"Meanings are another story." http://www.ifas.org/wa/glossolalia.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 08:12 PM
bsc7080mqc@mylxhqremove.com
 
Posts: n/a
Default Re: Question concerning AIX ftp command

Thank you. I will do that.... however, I have found from time to time,
that AIX does not have the same commandline switches as everything
else, so I posted here.

Again thank you.

On 20 Sep 2003 18:33:09 GMT, Nicholas Dronen <ndronen@io.frii.com>
wrote:

>bsc7080mqc@mylxhqremove.com wrote:
>bmmc> We are using shell scripts and .netrc files to initiate ftp
>bmmc> connections within our Oracle Applications evironment. Periodically,
>bmmc> we have jobs that simply hang. It usually revolves around an FTP
>bmmc> server that is not responding. I have developed an alternate solution
>bmmc> that utilizes a built in UTL_TCP coding with in the Oracle Database
>bmmc> and it works well, and it happens to have a transfer timeout option.
>bmmc> As a default it was set to NULL meaning never ending. I changed the
>bmmc> parm to a default of 2 minutes. If the ftp server hangs for some
>bmmc> reason,the ftp session fails and terminates.
>
>bmmc> I want to emulate the same functionality in my shell scripts, but I
>bmmc> can't find a matching parameter that allows me to control the timeout
>bmmc> for ftp connections at the AIX ftp commandline level. I saw that you
>bmmc> can set daemon parm for the respective ftp server that would control
>bmmc> timeout, but I need a solution that works in the shell script (korn
>bmmc> shell by the way). Something that watches our ftp connection and fails
>bmmc> the shellscript if the ftp session timesout...
>
>This isn't a question about AIX. Please post this question to
>comp.unix.shell.
>
>Regards,
>
>Nicholas


MylxHQ - Oracle Resource Portal
http://oracle.mylxhq.com
bsc7080mqc@mylxhp.com
(replace mylxhp with mylxhq to reply/contact)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com