Background Zip File Processing
If you are uploading a large zip file, you may want to process your zip file in the background and be notified via email when processing completes. You can then pull your "results" zip file using the "ZipFileDownloadServlet".
For example, this is a “request” zip file whose name specifies that background processing
is desired: test1.bg.zip. Notice that the file name ends with “bg.zip”
rather than just “.zip”. This naming convention indicates that background processing is
desired. Here is a sample csvutil.ctl file that illustrates how to have an email sent
out when processing completes:
-dataFileName activity.csv -command i
-dataFileName activity2.csv -command i
-mailTo customername@example.com -mailFrom customername@example.com -subject zipFileProcessDone -message Hello -smtpHost mail-server.example.com
-mailFrom parameter must match
one of the registered Mail Sender addresses for your Oracle Transportation Management
cloud server, and (if specified) the -smtpHost parameter value must
match the value specified for the glog.mail.smtp.external.host property
(if a 3third party email service is used instead of Oracle Cloud Infrastructure email);
the -smtpHost parameter should not be specified if you are using Oracle
Cloud Infrastructure email service.Selecting on the link in the email takes you to a listing of the zip files on the web server.
You may select on the desired zip file to download it to your local workstation. The zip files ending in "result.zip" are the "results" or "output" zip files.
If things go wrong during background processing, your results zip file will contain error output, which you can read with a text editor rather than WinZip or other unzip tools.