附件是个 test.fqf 文件,.fqf 是flashfxp的队列文件,我每天用计划任务备份网站当天产生的内容,所以每天都要手动修改队列里面的日期为当天日期,所以看看批处理能不能解决这个问题。
test.fqf 的内容里面有ASCII 1,但是不管,只修改日期部分,如图:- 14-F9A58688aabbE:\www\web\2014-07\29/wwwroot/web/2014-07/29324537100
复制代码
关于.fqf文件格式官方文档说明:- Queue Format (.fqf)
-
- Queue file format (.fqf) for reference.
-
- Each line consists of a single queue item and the fields separated by the (ASCII 1) character. Each line ends with a CR/LF.
-
- Type
- 0 = file
- 1 = folder
- 2 = action file
- 3 = action folder
- 4 = action other
-
- Transfer Direction
- 0 = -->
- 1 = <--
- 2 = Up Left
- 3 = Down Left
- 4 = Up Right
- 5 = Down Right
- 10+ = failed transfer
-
- When generating a queue file externally you can use the site name as shown in the site manager. Site names start with a (ASCII 2). Queue files created by FlashFXP start with (ASCII 3) followed by a 32bit hash in Hex format (8 characters in length) immediately followed by the site name.
-
- For a FTP transfer you use - (ASCII 45) to identify the the local side.
-
- Each line consists of the following fields separated by (ASCII 1)
-
- 1. Type
- 2. Direction
- 3. Source Host (site name, see #1)
- 4. Target Host (site name, see #1)
- 5. Source Filename (full path to source)
- 6. Target Filename (full path to target)
- 7. File Size
-
- A line would consist of the following
-
- <Type><ASCII 1><Direction><ASCII 1><Source Host><ASCII 1><Target Host><ASCII 1><Source Filename><ASCII 1><Target Filename><ASCII 1><File Size><CR><LF>
-
- #1: The easiest way to obtain the site name is to open the sites.dat file in a text editor, the site name is the section name for the site and copy and paste the text because it includes special characters for group names, to make it easier, sites that you need to manually create queues for, you can simply create them in the root of the site manager so no group is used. this way they can be accessed directly by name shown in the site manager.
复制代码
|