我有安装FTP Server角色的Windows Server 2016计算机,添加了FTP站点,并在Windows防火墙中添加了FTP服务器规则。我可以通过FTP本地连接,就像通过命令行这样:
ftp localhost
Connected to *redacted*.
220 Microsoft FTP Service
200 OPTS UTF8 command successful - UTF8 encoding now ON.
User (*redacted*:(none)): Administrator
331 Password required
Passwo
我使用对ftp.exe的调用将文件上传到FTP服务器。
这个程序已经运行了很多年,上传到服务器数量,到目前为止没有问题。
在其中一个接收服务器被更新后,上传就不再可能了。
这是命令序列:
open ftp.xxx.de
<user>
<pw>
>230 User logged in, proceed
cd upload
bin
put <filename>
对此,服务器响应如下:
501端口IP与10.100.244.5不相同
150文件状态好,即将打开连接
也就是说,在此之后,连接被卡住,并在一定的超时时间后关闭。
有趣的是,google搜索
我正在尝试连接到SSIS中的FTP服务器以下载文件,并收到以下错误消息
Error: 2018-02-01 10:05:47.57
Code: 0xC002F304
Source: Get all files from FTP FTP Task
Description: An error occurred with the following error message: "An error occurred in the requested FTP operation. Detailed error description: 200 Type set to A
22
我正在从实例的ami创建的EC2上测试生产服务器的备份。除了ftp连接之外,一切都在签出。服务正在运行,nmap探针显示端口21已打开。但是,当我试图使用"ftp://ftp2.mysite.com“作为地址通过浏览器连接到它时,我会得到以下错误:
This site can’t be reached
The webpage at ftp://ftp2.mysite.com/ might be temporarily down or it may have moved permanently to a new web address.
ERR_CONNECTION_ABORTED
在
我很难在Windows 7上安装FTP服务器。
我已经添加了使用控制面板->程序->打开和关闭Windows功能的服务。
我可以看到控制面板->服务中的服务已经启动。
但是当我启动一个Windows命令行窗口,cmd,我就没有连接.
C:\Users\mattf>ftp localhost
ftp> ls
Not connected.
ftp> open localhost
ftp> ls
Not connected.
ftp> dir
Not connected.
ftp> quit
C:\Users\mattf>
这就是我所能得
我已经在iis7中启用了windows ftp,并且能够通过ftp://user:password@RBDRMSNMVM01连接。但是,我通过下面的C#代码片段尝试了相同的方法,但是我无法传输文件。在GetRequestStream()方法调用失败,这是“无法连接到远程服务器”
strUserName = FTP Windows Server login user id
strPwd = FTP Windows Server login password
FtpWebRequest request = null;
FileStream fs = null;
Stream reqSt
我试过在Azure网站上使用FtpWebRequest和EnterpriseDT.Net.Ftp,我想把一个字节数组从一个FileUpload传递到另一个FTP站点。
这在本地服务器上工作,因此可以在VM上工作,但无法在Azure网站上工作。诚然,我们正在努力避免添加VM或额外的Azure存储帐户的成本。
似乎该端口在Azure上被阻止了,但它在本地服务器上对我们开放。
[IOException: Failed to connect to XXX.XXX.XXX.XXX:21 within timeout 120000 ms] EnterpriseDT.Net.StandardSocke
我在Ubuntu12.04LTS中安装了FTP服务器。
现在,当我试图通过命令行ftp.exe从Windows 7连接到FTP服务器时,我成功地连接了,但无法获得目录列表。我搞错了
200 PORT command successful. Consider using PASV.
425 Failed to establish connection.
我正在尝试获取FTP站点的目录列表,但在连接和检索列表时遇到问题。我认为问题出在Windows2008Server R2的windows防火墙上。代码如下:
try
{
// Get the object used to communicate with the server.
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://127.0.0.1");
request.Method = WebReq
我试图在Windows共享主机上使用php FTP函数列出来自外部ftp服务器的一些文件,但我遇到了几个问题。
我首先尝试了几个web应用程序,如ajaxplorer和net2ftp,但我感到沮丧,于是我决定做一个非常基本的脚本来进行测试。
<?php
$ftp_server = "alinuxftpserver";
$ftp_user = "user";
$ftp_pass = "pass";
// set up a connection or die
$conn_id = ftp_connect($ftp_server) or
请先查看我的windows窗体代码:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace my_prog