FTP连接 [英] FTP Connection

查看:92
本文介绍了FTP连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过传递服务器名称,用户和密码来检查是否建立了ftp连接。我正在使用

WebRequestMethods

I want to check just ftp connection is established or not by passing server name , user and password. I am using

WebRequestMethods

 

Ftp 。使用ftp服务器创建或不获取PrintWorkingDirectory并获取检查连接的响应。如果有更好的解决方案请告诉我。

感谢

推荐答案

PrintWorkingDirectory是用于检查连接状态的最常用方法。我不认为有任何其他方法可以检查ftp连接状态。
PrintWorkingDirectory is the most common way used to check connection status. I don't think there is any other method to check ftp connection status.


这篇关于FTP连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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