Mobile SDK > Disconnected mobile application reference > Mobile Synchronization Web Service (MobileSyncWebService) reference > URL overview > /Projects/PROJECT/Resources/[DIRECTORY]/[FILE] URL
 
/Projects/PROJECT/Resources/[DIRECTORY]/[FILE] URL
Description
Retrieves files that are associated with the project (for example, HTML templates, CSS files, images, audio files, and video files). Each file is retrieved individually with a more specific URL.
HTTP responses that contain file data also include a Last-Modified header variable. The client can use the variable to set the file-time when the file is written. The file-time avoids issues with inaccuracies in the client system clock, time-zones, and when the client later sends the time back to the server in the If-Modified-Since header variable.
The caller can compare a file's LastModified time, with the saved file's last modified time, to determine if it is necessary to request the file.
Get Request
The caller can include If-Modified-Since in the header to request only updated files. Example URLs:
/SPSSMR/MobileSync/Projects/Museum/Resources/DefaultLayout.htm
/SPSSMR/MobileSync/Projects/Museum/Resources/DefaultLayout.htm_Files
/SPSSMR/MobileSync/Projects/Museum/Resources/DefaultLayout.htm_Files/default.css
Get Response
The file is returned, or an HTTP 304 message if the file was not modified.
See also
URL overview