-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
晕啊。。。被upload接口吭了 #76
Comments
如果本地还有备份,重新上传吧。。。如果没有,那好像没啥办法了。。 |
没有备份。。。还好损失不算严重 2014-08-24 1:47 GMT+08:00 houtianze notifications@github.com:
|
改了,现在upload一个文件时,会先检查remotepath是否存在,并且是个目录,如果是这样,会上传到这个目录下,而不是“覆盖”掉这个目录。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
upload [localpath] [remotepath] [ondup] - upload a file or directory (recursively)
定义是这样的,我以为remotepath仅仅是目录,上传一个文件的时候竟然是文件把服务器的文件夹给覆盖了。。。。。怎么办啊
本想把a.txt 上传到/abc目录,我用命令:
upload /local/a.txt /abc
然后服务器的abc文件夹就没了,包括底下全部东西。。。回收站也没有,历史版本也没有。。。。
The text was updated successfully, but these errors were encountered: