Search

GlobalSCAPE Knowledge Base

A file named "gs_tmp_tz" is created when I log in. What does that file do?

Karla Marsh
CuteFTP

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • CuteFTP®

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:

  1. Look at the local system time.
  2. Attempt to upload this temporary file (gs_tmp_tz).
  3. If the upload was successful, look at the server-modified time stamp for the uploaded temporary file.
  4. 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

  1. Open the Site Manager.
    • In Cute FTP Pro: Right-click the site, then click Properties.
    • In CuteFTP Home: Click the site.
    • The Site Properties appear.

  2. Click the Type tab.

  3. In the Server time zone area, clear the Automatically detect check box.
  4. If necessary, set the time zone offset for the server. Click the down arrow and then select the time zone of the server.
  5. Click Connect, OK, or Exit (depending on your need and the version of CuteFTP).
Details
Last Modified: 12 Years Ago
Last Modified By: GlobalSCAPE 5
Type: HOWTO
Rated 1 star based on 4 votes.
Article has been viewed 13K times.
Options
Also In This Category
Tags