如何在FTP Upload C#上保留隐藏文件夹属性? [英] How to preserve hidden folders attribute on FTP Upload C#?

查看:126
本文介绍了如何在FTP Upload C#上保留隐藏文件夹属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
当我尝试使用FTP凭据将文件夹上载到FTP服务器时,如果文件夹"属性是隐藏的,而不是保留相同的属性,则FTP服务器将删除隐藏"属性,并以可见状态显示文件夹,而不是保留隐藏"状态.
如果我想在将文件上传到FTP服务器时保留相同的文件夹/文件属性,可能有什么解决方法?
在此先谢谢您.

Dear All,
When I try to upload a Folder to FTP server using the FTP credentials, If the Folders attribute is hidden than instead of preserving the same attribute, the FTP server removes the Hidden attribute and shows the folder in visible state instead of preserving the Hidden state.
What could be the possible solution if I want to preserve the same folder/file attribute while uploading the file to FTP Server?
Thanks in advance.

推荐答案

一些高级FTP客户端库可能对您有用,并且可以满足您的需要.
http://ftplib.codeplex.com/ [ ^ ]
http://ftps.codeplex.com/ [ ^ ]
http://netftp.codeplex.com/ [ ^ ]
Some of the higher-level FTP client library that might be useful for you and will workout for you needs.
http://ftplib.codeplex.com/[^]
http://ftps.codeplex.com/[^]
http://netftp.codeplex.com/[^]


这篇关于如何在FTP Upload C#上保留隐藏文件夹属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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