!-------------------------------------------------------------------------------
!
!      PI_FTP RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!            PR
!   DATE   NUMBER  Developer Description
! -------- ------- --------- -------------------------------------------------
! 02/02/98 35798   WMiller   Unix version
! 07/15/98 37055   WMiller   Change OSF_BAD_LOGIN to w
! 05/05/99 38292   MSwam     Add PASSWORD_PROMPT
! 09/20/99 39439   WMiller   Add OSF_FTP_HANG
! 07/12/00 42044   WMiller   Prepare for UNIX Ops
! 09/10/02 46357   Sherbert  Changed PROCESS_NAME, DESCRIPTION, OUTPATH
!                            to remove need for Ops overrides
! 04/03/03 48277   WMiller   Add FTP_PROXY_T1 and FTP_PROXY_T2
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 09/07/05 53733   Sherbert  Parameterize
! 11/30/05 53733   Sherbert  Comment out FIREWALL: not used in Ops
! 04/19/11 67531   Rahmani	 Removed password prompts
!-------------------------------------------------------------------------------

PROCESS_NAME = PI_FTP       ! Short name for process id
TASK = <pi_ftp -p $PATH_FILE -r pi_ftp>
CLASS = pac
DESCRIPTION = 'PACOR-A FTP interface'
SYSTEM = PACOR

USERNAME      = FTP_USERNAME ! Username for loging in to PACOR
! FIREWALL      = FIREWALL     ! uncomment this line, if needed
POLLING_TIME  = 10           ! Wait a total of delta_time+polling_time

FTP_PROXY_T1  = FTP_PROXY_T1 ! Wait this long for FTP commands to complete
FTP_PROXY_T2  = FTP_PROXY_T2 ! Slow server compensation (see PR 36907)

OSF_RANK = 1
OSF_TRIGGER1.FT   = w
OSF_PROCESSING.FT = p       ! FTP is starting
OSF_DONE.FT       = c       ! FTP is complete
OSF_DONE.DN       = w       ! Waiting for DDN to be sent
OSF_BAD_LOGIN.FT  = w       ! Failed to login to PACOR (was DDF)
OSF_FTP_HANG.FT   = h       ! FTP hang occurred
OSF_FTP_HANG.DN   = w       ! Waiting for (long) DDN to be sent

OSF_ERROR.FT      = f       ! FTP is in error

OUTPATH           = OPUS_DDF_DIR    ! Output directory for the STIS
MINBLOCKS         = 500000          ! blocks required on output disk

ENV.OPUS_DB       = OPUS_DB
ENV.DSQUERY       = DSQUERY
ENV.OPUS_DDF_DIR  = OPUS_DDF_DIR
ENV.OPUS_RT_DIR   = OPUS_RT_DIR
