隐藏的文件和WebRequestMethods.Ftp.ListDirectoryDe​​tails [英] Hidden files and WebRequestMethods.Ftp.ListDirectoryDetails

查看:170
本文介绍了隐藏的文件和WebRequestMethods.Ftp.ListDirectoryDe​​tails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个例程,该例程以递归方式删除FTP服务器上的目录结构.直到运行到隐藏文件中,此方法才能正常工作.

有没有办法让ListDirectoryDe​​tails显示隐藏文件?
一旦显示,是否有一种方法可以使用WebRequestMethods.Ftp.DeleteFile强制删除?

谢谢,
Don

I have a routine that recursively deletes a directory structure on a FTP server. This works well until it runs into a hidden file.

Is there a way to get ListDirectoryDetails to show hidden files?
Once shown, is there a way to force the delete with WebRequestMethods.Ftp.DeleteFile?

Thanks,
Don

推荐答案

尝试下面的链接.
http://bytes.com/topic/c-sharp/answers/600686-what-webrequestmethods-ftp-listdirectorydetails-returns [ ^ ]


如果您在此处找不到它,请在MSDN文章上发布您的问题.可能是Microsoft可以为您提供帮助.

http://msdn.microsoft.com/en-us/library/system.net.webrequestmethods.ftp.listdirectorydetails.aspx [ ^ ]


希望看到你在微笑:)
try the link below.. my the luck be with you

http://bytes.com/topic/c-sharp/answers/600686-what-webrequestmethods-ftp-listdirectorydetails-returns[^]


if you dont find it there, post your question on MSDN article.. may be the Microsoft guys can help you.

http://msdn.microsoft.com/en-us/library/system.net.webrequestmethods.ftp.listdirectorydetails.aspx[^]


hope to see you smiling :)


这篇关于隐藏的文件和WebRequestMethods.Ftp.ListDirectoryDe​​tails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆