码迷,mamicode.com
首页 > 其他好文 > 详细

gs_tmp_tz.***.**文件

时间:2014-11-10 09:58:34      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   color   ar   os   sp   for   

每次用FTP登录,空间总是产生很多形如:  gs_tmp_tz.***.** 的文件,感觉太凌乱。

查询相关资料得知: 

gs_tmp_tz... is the temporary timezone detection file.


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.

    bubuko.com,布布扣

  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 ConnectOK, or Exit (depending on your need and the version of CuteFTP).


OK, 以上设置后,完美解决现有问题。

本文地址:  http://blog.csdn.net/aerchi/article/details/40976455

gs_tmp_tz.***.**文件

标签:style   blog   http   io   color   ar   os   sp   for   

原文地址:http://blog.csdn.net/aerchi/article/details/40976455

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!