如何检查 FTP 服务器中的可用空间? [英] How to check free space in a FTP Server?

查看:22
本文介绍了如何检查 FTP 服务器中的可用空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个 GUI 应用程序,它显示 FTP 服务器的可用空间.FTP 服务器可以是 linux 或 windows.有没有常用的方法.(除了预定的工作)

在 Windows FTP IIS 中,作为 LIST 命令的一部分,有一个获取空间的选项.在 ubuntu 中找到了一种使用 cron 作业的方法.除了使用 cron 作业还有其他方法吗??

解决方案

没有通用的方法来检查 FTP 服务器上的磁盘空间.恐怕大多数 FTP 服务器根本不提供这些信息.

不同的 FTP 服务器支持不同的专有功能来提供磁盘空间:

  • 有一个

    I am trying to develop a GUI app, that displays freespace of FTP server. FTP Server can be linux or windows. Is there any common method. (other than scheduled job)

    In Windows FTP IIS, there is an option to get space as part of LIST command. In ubuntu found one method using cron jobs. Is there any other method than using cron jobs??

    解决方案

    There's no generic way to check a disk space on FTP server. I'm afraid that majority of FTP servers do not provide this information at all.

    Different FTP servers supports different proprietary features to provide disk space:


    My GUI FTP client, WinSCP, supports all these ways to check the space available. So you can test it against your server to see, what, if any, commands and syntax it would use against your servers.

    这篇关于如何检查 FTP 服务器中的可用空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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