ftp上传和下载失败.无法连接到远程服务器. VB.NET 2010 [英] Ftp Upload and Download failed. Unable to connect to the remote server. VB.NET 2010

查看:85
本文介绍了ftp上传和下载失败.无法连接到远程服务器. VB.NET 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码

我的计算机网络"下载文件("ftp://www.someftp.com/Picture.jpg"、C:\Files\My Projects \ PIcture.jpg",用户", 通过")

 My.Computer.Network.DownloadFile("ftp://www.someftp.com/Picture.jpg", "C:\Files\My Projects\PIcture.jpg", "user", "pass")

无法连接到远程服务器.

Unable to connect to the remote server.

推荐答案

我的代码

我的计算机网络"下载文件("ftp://www.someftp.com/Picture.jpg"、C:\Files\My Projects \ PIcture.jpg",用户", 通过")

 My.Computer.Network.DownloadFile("ftp://www.someftp.com/Picture.jpg", "C:\Files\My Projects\PIcture.jpg", "user", "pass")

无法连接到远程服务器.

Unable to connect to the remote server.


您确定这是正确的ftp URL吗?您可以使用Web客户端连接到该ftp站点吗?


Are you sure that's the correct ftp URL? Can you connect to that ftp site with a web client?


这篇关于ftp上传和下载失败.无法连接到远程服务器. VB.NET 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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