THE INFORMATION IN THIS ARTICLE APPLIES TO:
SYMPTOM
Every time I login, the file gs_tmp_tz.4823.29 is created. What does that file do?
RESOLUTION/EXPLANATION
gs_tmp_tz is the temporary time zone detection file. The only reason you should ever see this file on the server is if CuteFTP was able to upload it, but unable to delete it. The most likely reason this might happen is if you have upload permissions, but not delete permissions to the default folder. (You might be able to prevent this problem by changing the default remote folder to one for which you have upload and delete permissions.) A less likely reason is that the server created the temporary file for the upload, but returned an error response for the upload.
If CuteFTP is enabled to automatically detect the time zone of a server, when you log into the server, CuteFTP will perform a series of actions to try to detect the time zone offset:
- Look at the local system time.
- Attempt to upload this temporary file (gs_tmp_tz).
- If the upload was successful, look at the server-modified time stamp for the uploaded temporary file.
- Attempt to delete the temporary file (if the upload was successful).
The difference in the local time and the remote time stamp allows CuteFTP to know what the time zone offset is so that it can tell whether files on the server are older than or newer than local files. It is important to know the correct time zone offset if you want to use the Smart Overwrite or folder synchronization features; otherwise the wrong files might be overwritten.
You can turn off the automatic detection of the server's time zone, which will prevent this file from being created.
To turn off automatic detection of the server's time zone
- Open the Site Manager.
- Click the Type tab.
- In the Server time zone area, clear the Automatically detect check box.
- If necessary, set the time zone offset for the server. Click the down arrow and then select the time zone of the server.
- Click Connect, OK, or Exit (depending on your need and the version of CuteFTP).