...
Legacy SFTP Development: xfer-test.adcom.uci.edu
MFT Instruction Doccumentation For Transferring Files
Review the documentation page for detail instructions of how to set up and and use the MFT Server. For MFT, the KFS system account (kfsoper) needs to have both read and write access to the directories that you share with KFS. Our scripts will be downloading and then deleting the files from MFT and lastly uploading the original file renamed with the .staged extension to notify your system that the file was downloaded successfully. Files which have been renamed with the .staged extension will be deleted from MFT after a month by KFS.
Legacy SFTP XFER Logon ID For Transferring Files
...
Legacy SFTP - Create Private And Public Keys For Your XFER Logon ID
If you are using the PuTTY package, it comes with a tool called PuTTYgen (PuTTY Key Generator).
- Run PuTTYgen
- Parameters SSH-2 RSA and number of bits 1024 should be sufficient, these are the default parameters.
- Click on the Generate button to create a public/private key pair and move your mouse as instructed in the blank area of the window.
- Edit the Key comment field by adding your xfer logon id at the beginning for example: kfsucop-rsa-key-20121120. This will helps us identify your key.
- If you plan to automate the file transfer do NOT enter a Key passphrase, otherwise you will be prompted for the passphrase every time you try to connect.
- Click on the Save the public key button. Save it in a secure area.
- Click on the Save the private key button. Save it in a secure area.
- IMPORTANT: Only if you will be connecting from a Solaris Unix server, you will need to convert your private key to OpenSSH. Do this through PuTTYgen by: Go to Conversions->Export OpenSSH and export your private key.
- From the display you will see the public key displayed in the Public key for pasting into OpenSSH. Copy the public key displayed into your clipboard by selecting it.
- Provide the public key to OIT via email (mpsevill@uci.edu, bccraft@uci.edu, mangrich@uci.edu) by pasting the public key in the body of the email. Let us know your xfer logon id and that this is the key to use for KFS upload and download files in XFER.
- Keep the private key in a safe place and do not share it.
- Below is an example of how it should look.
Legacy SFTP - Using SFTP To Connect To xfer.adcom.uci.edu or xfer-test.adcom.uci.edu
This is how you would connect to XFER using WinSCP as your client. Your public key must have been installed by the XFER systems administrators to be able to connect.
...
- Test your connection by clicking on the Login button.
- Once connected you should see something similar to the screenshot below. You should be able to transfer your files.
File Naming Conventions
...
for MFT and SFTP
- For MFT place files being sent to KFS in the upload directory. The the (SYSTEM_NAME)ToKFS directory, the KFSTo(SYSTEM_NAME) directory will contain any files sent from KFS to your system. SYSTEM_NAME refers to the name of your system as established during for set up, for example: SISToKFS, UCPathToKFS. See the MFT documention for furter details.
- For SFTP place files being sent to KFS in the upload directory, the download directory will contain any files sent from KFS to your system.
- The file name must start with the file type to correctly identify it (kfsgl_, kfspdp_, kfschk_, fs_, pal_) followed by the xfer logon id or systems name (kfsac, kfssb, SIS, UCPath, etc.)
- Make sure to use lowercase for the file names, as the system is File names are case sensitive, this it is especially very important for the file extension and also the identifier at the beginning to be in lowercase.
- It would be useful Make sure to end the file names with a timestamp before the extension.
- For example kfsgl_20121130161901.xml (for Collector XML file) or kfsgl_20121130161901.data (Collector flat file), the timestamp in this case is November 30th, 2012 4:19:01 pm.
- The reason why this is preferable being required as opposed to using a static file name is because in KFS you can upload multiple files and this way you do not overwrite an existing file that has not been processed. KFS will process the multiple files together.
- If your system will be using the GL Black Box please use the prefix fs_ along with the .dat extension, for example fs_20131130161901.dat.
- If your system will be using the PDP Black Box please use the prefix pal_ along with the .dat extension, for example pal_20131130161901.dat.
Once a file is moved from XFER to the KFS staging area it will be renamed with a .staged file extension. These files will be removed from the server probably around once a month.
File Purpose XFER Legacy SFTP Directory Naming Convention Example GL Collector XML Feed upload kfsgl_LOGONID_YYYYMMDDHHMMSS.xml kfsgl_kfssb_20121130161901.xml (for Collector XML file) GL Collector Flat File Feed upload kfsgl_LOGONID_YYYYMMDDHHMMSS.data kfsgl_kfssb_20121130161901.data (Collector flat file) PDP Payment XML Feed upload kfspdp_LOGONID_YYYYMMDDHHMMSS.xml kfspdp_kfssb_20121130161901.xml PDP Check Cancellation upload kfschkcancel_LOGONID_YYYYMMDDHHMMSS.data kfschkcancel_kfssb_20121130161901.data FS Legacy GL Flat File upload fs_LOGONID_YYYYMMDDHHMMSS.dat fs_kfssb_20131130161901.dat PAL Legacy Payment Flat File upload pal_LOGONID_YYYYMMDDHHMMSS.dat pal_kfssb_20131130161901.dat Electronic Invoices upload kfsinv_LOGONID_VENDOR_YYYYMMDDHHMMSS.xml kfsinv_kfsei_NewEngland_62_20121130161901.xml Payroll Budget Costing File* upload/budget biweekly_YYYYMMDD_POPULATION_costtran
monthly_YYYYMMDD_POPULATION_costtranbiweekly_20140511_exsx_costtran
monthly_20140511_exsx_costtranDisbursement Voucher File upload kfsdv_LOGONID_YYYYMDDHHMMSS.csv kfsdv_kfsme_20151118093812.csv PDP Check Feedback Flat File download kfschk_LOGONID_YYYYMMDDHHMMSS.dat kfschk_kfssb_20131130161901.dat Check File* download pdp_check_YYYYMMDD_HHMMSS.xml pdp_check_20131130_161901.xml ACH File* download pdp_ach_YYYYMMDD_HHMMSS.xml pdp_check_20131130_161901.xml Vendor File - outgoing download kfskvo_LOGONID_YYYYMMDDHHMMSS.dat kfskvo_kfsmc_20131130161901.dat Vendor File - incoming upload kfsvendor_LOGONID_YYYYMMDDHHMMSSS.data kfsvendor_kfsaprk_201705151434123.data PDP Payment Load Summary* download paymentLoadSummary_LOGONID_ENV_kfspdp_LOGONID_YYYYMMDDHHMMSS.xml paymentLoadSummary_kfssb_int_kfspdp_kfssb_20140415140758.xml EDD File* download de542_YYYYMMDDHHMMSS_ENV.txt.asc de542_20140716200022_prd.txt.asc 1042s File* download NRApaymentExtract_YYYYMMDD-HH-MM-SS_ENV.csv.asc NRApaymentExtract_20140101-20141231_prd.csv.asc *Internal files
...