[乐意黎原创] FTP 产生 gs_tmp_tz.***.** 文件

文章详细介绍了在使用FTP登录时,服务器上产生形如gs_tmp_tz.***.**的临时文件的原因及解决方法。通过删除冗余文件并清理空间,可以有效解决这一问题。此外,还提供了关闭自动检测服务器时区的功能,以预防此类文件的生成。

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

查询相关资料得知: 

gs_tmp_tz... is the temporary timezone detection file.

========================================================

解决方法:有可能是由于FTP服务器存储空间己满,请尝试删除冗余文件并清理出尽可能多的可用空闲空间。

然后基本就解决了。

========================================================

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


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

乐意黎

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值