The project consists of a web page (A) with a form with two fields (CODE & ORDER) and a submit button. The A page should also receive via URL two parameters (COMPANY & LANGUAGE)
The A page should be a simple page, because we are going to use it within an iframe. Should have a CSS style file.
CODE = Alphanumeric
ORDER = Alphanumeric
COMPANY = Alphanumeric (3 or 4 characters upper case)
LANGUAGE = ISO CODE (en | pt | es | fr | de) lower case
The web.config file should contain the information to connect to Amazon S3 (bucket, key, secret key, etc); there are no database connections.
Once the submit button is clicked, the A system should connect to the bucket, and to a COMPANY folder, then it should check if a file exists with the following structure (COMPANY + ORDER + "C" + CODE + ".pdf") or (COMPANY + ORDER + "C" + CODE + ".PDF")
If the file exists, the system has to delete it and write a message to the A page notifying the succesful action. If the file does not exist, notify the unsuccesful action.
All the texts and messages should be in a XML file, grouped by language. Eg: when the parameter LANGUAGE is "en" it should read from the XML all the texts in English and show those in the page. Translation are not required in the project, only English in order to make it work. Today we have 5 languages, but the system should allow more by adding more entries in the XML.
A TXT Log File is required, saving only the deleted files name, like this: DATE COMPANY FILENAME
Additional Project Description:
04/23/2013 at 11:52 ART
We will not provide any Amazon S3 account, please be sure you have a valid Amazon account to do the development and testing.