Submitting a Session File for Processing
When submitting a file via FTP/sFTP, verify that the file permission is set to 664.
Also, file naming conventions are crucial to the file submission process. Incorrect file names will prevent the file from being processed or may stop processing due to an incomplete file transfer.
Do not append .asc to the end of the filename (Step 3). You must replace the .prg extension with.asc. If .prg appears in the filename, the system will not process the file.
Also, limit the length of the filename to a maximum of 100 characters, including the extension.
-
On your local system, add the extension .prg (lowercase) to the name of the file you want to submit. For example, you could name the file MerchantName_YYMMDD.prg. Keep in mind the following rules:
-
Spaces are not allowed in the file name
-
The .prg extension must be lower case
-
Open your FTP connection to the Worldpay inbound directory and move your file to the Worldpay directory.
-
After the FTP process completes, change the extension of the transmitted file (in the Worldpay inbound directory) from .prg to .asc (lowercase). Also, change the file permission to 664. the The system polls the directory for files with an .asc extension every thirty seconds. When the system encounters files with the proper extension, it retrieves them for processing.