Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tfs递归创建文件时怎么第一次操作是创建目录而不是文件? #28

Open
minminmsn opened this issue Feb 27, 2017 · 0 comments

Comments

@minminmsn
Copy link

tfs递归创建文件时怎么第一次操作是创建目录而不是文件?

想创建/cc/cc/cc文件,却创建/cc/cc/cc目录。
[root@tfsdatasvr1 ~]# curl -i -XPOST http://tfs.test.com/v2/tappkey00001/1/1030/file/cc/cc/cc?recursive=1
HTTP/1.1 201 Created
Server: Tengine/2.1.2
Date: Mon, 27 Feb 2017 03:06:59 GMT
Content-Length: 0
Connection: keep-alive

[root@tfsdatasvr1 ~]# curl http://tfs.test.com/v2/tappkey00001/1/1030/dir/cc
[
{
"NAME": "cc",
"PID": 43489476,
"ID": 43489477,
"SIZE": 0,
"IS_FILE": false,
"CREATE_TIME": "Mon, 27 Feb 2017 02:47:12 GMT",
"MODIFY_TIME": "Mon, 27 Feb 2017 02:47:12 GMT",
"VER_NO": 0
}
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant