!--------------------------------------------------------------------
!
!      NETCPY RESOURCE FILE
!
! This file is used to define various values for the calibration
! file retrieval command, NETCPY.
!
! NOTE: If the 'netcopy' command is used interactively (not part
!  of a pipeline), there will be no translation of
!  parameters in this resource file through a path file.
!  Do not reference path mnemonics for such use.
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!  MOD             PR
! LEVEL   DATE   NUMBER    User  Description
! ----- -------- ------    ------ -------------------------------------
!  000  01/17/97           mswam  Initial version from CDBCPY.RESOURCE
!  001  02/17/97 33145     MSwam  Add defaults from operations
!  002  05/29/97 33423     MSwam  Remove MINBLOCKS (done internally)
!  003  05/26/98 35570     MSwam  Port to UNIX
!  004  10/20/98 36860     MSwam  Add PASSWORD 
!  005  11/23/98 37814     MSwam  Add SAFE_COPY capability
!  006  12/22/98 38070     MSwam  Add copy,delete confirmation switches
!  007  04/22/99 38834     MSwam  Add USE_RSH_RCP
!  008  06/24/99 39324     WMiller Set ENV vars
!  009  12/27/00 40375     Rose   Add required CLASS keyword
!  010  04/23/02 44741     WMiller Add ^CL to COMMAND
!  011  08/04/03 49086     Rose   Use for WFC3 TV copies: A$Nbftp
!  012  08/27/03 49086     Rose   Move LOCAL_FILESPEC to smalls
!  013  08/27/03 49086_01  Rose   Move LOCAL_FILESPEC to smalls/thervac
!  014  09/29/03 49086_02  Rose   Don't mail from smalls
!       08/08/07 55484     MSwam  Change SYSTEM,CLASS
!       06/30/10 65423     MSwam   Use netcopy/SFTP
!
!--------------------------------------------------------------------
!
COMMAND    = 'wf3net.sh ^CL'
TASK       = <xpoll -p $PATH_FILE -r wf3net>
SYSTEM     = OPUS
CLASS      = tv
!
TIME_RANK                = 1
DELTA_TIME               = 000:00:05:00 !interval for process to wake up.
POLLING_TIME             = 10           !required
XPOLL_ERROR_COUNT        = 20           !this many XPOLL errors will cause the
                                        !process to go ABSENT
!
! Valid exit codes for COM_FILE that allow XPOLL to continue.
! All other XPOLL states will cause process to go ABSENT.
! (The labels are not used for TIME events)
XPOLL_STATE.01  = NET_OK
XPOLL_STATE.03  = NET_SUCCESS
XPOLL_STATE.05  = NET_NO_FILES
XPOLL_STATE.07  = NET_MISSING_FILES
XPOLL_STATE.09  = NET_COPY_FAILED
!
!ENV.NETCPY_MAIL_ADDRESS     = rose@stsci.edu
!ENV.NETCPY_MAIL_FILE        = /tmp/netcpy_mail.log
!
ENV.REMOTE_MACHINE          = int1.hst.nasa.gov
ENV.REMOTE_LOGIN            = wfc3
!
! one of these must be a directory spec; this tool does not support
! using a different file rootname for the destination file
ENV.REMOTE_FILESPEC         = /home/wfc3/OPUS/*.*
!ENV.LOCAL_FILESPEC          = /info/devcl/pipe/erith/tv/dat/
ENV.LOCAL_FILESPEC          = /info/smalls/thervac/tv/dat/
!
ENV.DISK_SLOP_PERC           = 3
ENV.DELETE_AFTER_COPY        = yes
ENV.ROLLBACK_PARTIAL_COPY    = no
!
! if SAFE_COPY is YES, then NO_COPY_CONFIRMATION is automatically assumed
! to be YES as well.
!
ENV.SAFE_COPY                = no ! if yes, does put/rename instead of put
ENV.NO_COPY_CONFIRMATION     = no ! if yes, skips confirmation read after copy
ENV.NO_DELETION_CONFIRMATION = no ! if yes, skips confirmation read after deletion
ENV.TEMP_DIR                 = /
ENV.PUT_OR_GET               = GET
