如何通过vb.net在ftp服务器上获得可用空间? [英] how can i get free space on ftp server by vb.net?

查看:81
本文介绍了如何通过vb.net在ftp服务器上获得可用空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过vb.net在ftp服务器上获得可用空间?

how can i get free space on ftp server by vb.net?

推荐答案

我认为这是不可能的.没有这样的命令.请参阅:
http://en.wikipedia.org/wiki/Ftp#List_of_FTP_commands [ http://www.nsftools.com/tips/RawFTP.htm [
I don''t think it''s possible. There is no such command. Please see:
http://en.wikipedia.org/wiki/Ftp#List_of_FTP_commands[^],
http://www.nsftools.com/tips/RawFTP.htm[^].

—SA


FTP中没有直接命令可以从客户端访问可用空间.但是,某些FTP服务器确实通过扩展命令提供了此信息,但是这如何(以及是否)有效取决于您和特定服务器本身.

但是,我不会依赖任何非标准的FTP命令-如果更改了主机FTP服务器,它很可能会停止工作.相反,问自己为什么需要此信息,以及是否有更好的方法来解决任何问题.
There is no direct command in FTP to access the free space from the client. However, some FTP servers do provide this info via extended commands, but how (and if) this works is down to you and the specific server itself.

However, I would not rely on any non-standard FTP commands - if your host FTP server is changed, it could well stop working. Instead, ask yourself why you need this info, and if there is a better way to handle whatever the problem is.


这篇关于如何通过vb.net在ftp服务器上获得可用空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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