The following graphic describes the architecture for uploading files in SmartPlant Foundation.
1 |
The SmartPlant Foundation client sends a request to the SmartPlant Foundation server to initiate a file transfer. |
2 |
The server returns the URL of the file service to which the client should upload the file. |
3 |
The client posts the file to the Upload.aspx page on the specified file server. |
4 |
The HTTP module on the file server intercepts the HTTP post and writes the posted file to a temporary disk area. |
5 |
The file server then sends a success message back to the client, and the client prompts the SmartPlant Foundation server to process the uploaded file. |
6 |
The SmartPlant Foundation server then sends a message to the file server to move the file to a specified vault and to give the file a specified name. |
7 |
The file server returns a success message to the SmartPlant Foundation server, which then updates the database and responds to the client. |
When a user checks in or attaches a file, a subdirectory is created under the temporary file location for the Session ID of the client transferring the file.