政企网站建设,企业seo自助建站系统,凡科建站视频教程,上海十大广告公司排名问题#xff1a; 使用bat批处理下载服务器数据#xff0c;可以连接服务器ftp但下载失败#xff0c;关闭客户端防火墙后ok#xff0c;应该是被防火墙阻止#xff0c;先尝试passive方式连接ftp#xff0c;故有以下资料#xff0c;但最终还是防火墙的设置问题。
最终解决 使用bat批处理下载服务器数据可以连接服务器ftp但下载失败关闭客户端防火墙后ok应该是被防火墙阻止先尝试passive方式连接ftp故有以下资料但最终还是防火墙的设置问题。
最终解决打开防火墙的提示功能发现还是ftp.exe未被允许打开此程序后下载正常。
试过 passive
literal pasv
quote PASV
貌似都不起作用 有相关解决方案 可能可行http://passive-ftp.com/ 其他有说可以的试过不可行
http://answers.yahoo.com/question/index?qid20090115031718AAMJlhO Resolved Question Show me another» How to change MS DOS ftp to passive mode? i can connect to my server using the command prompt, but i keep getting a socket error. How to i change it to passive ftp. Id like the ms dos code if possible please. Cheers 4 years ago Report Abuse Additional Details thankyou joe.attaboy, whilst your solution did not work, it did help me look it up (you have to type QUOTE PASV apparantly) because I am running XP. Didnt solve my larger problem though :( 4 years ago ? Best Answer - Chosen by Voters After you connect to the FTP server, at the ftp prompt, enter: PASV You should get a response verification from the other end. Edit: Well, its been a while since I did an FTP in Windows or DOS. You might want to try an FTP client, some kind of ftp software. Im a Linux user myself, and I use gFTP, but I doubt thats available for Windows. There should be some ftp Windows client available. 4 years ago 其他解答
{subject:Re: 请问如何在窗口Dos的FTP中使用PASV模式,content:发信人: CHh5945 (痴痴), 信区: Networking 标 题: Re: 请问如何在窗口Dos的FTP中使用PASV模式 发信站: BBS 水木清华站 (Sun Feb 27 11:24:25 2000) 这个早就试过好像不行。 但是使用LeapFTP、CuteFTP的PASV却可以一直不明白。 请看下面的 C:\\ftp ia.hust.edu.cn Connected to ia.hust.edu.cn. 220-Serv-U FTP-Server v2.3b for WinSock ready... 220-Welcome to this FTP server 220-welcome to upload some small software in incoming directory 220-本FTP只对教育网可以访问的免费范围开放 220-所有软件仅供教学科研使用不得用于赢利的目的 220-由于硬盘空间限制不欢迎上载过大软件 220-不得上载违反国家法律法令的内容 220 若用户发现本FTP上有违反法律的内容请及时来信通知 User (ia.hust.edu.cn:(none)): anonymous 331 User name OK, please send complete E-mail address as password Password: 230 User ANONYMOUS logged in ftp literal pasv 227 Entering Passive Mode (202,114,14,38,10,104) ftp literal list -al Connection closed by remote host. ftp 再进入PASV模式后ls、get、list等都不行。 【 在 November (秋江风浪多.最后醒来的鸵鸟) 的大作中提到: 】 : 酱紫 : 在ftp xxx.xxx.xxx.xxx 后 : 输入用户名(如anonymous和密码后 : 在 ftp 模式下输入 literal然后会问你 Command line to send : 输入PASV就行了当然你的FTP服务器要支持才行。 : 然后就可以用get,mget这样的命令来取文件了。 : 在 windows98下是这样的。在linux下直接用passive命令就行了 其他解答http://www.linuxforums.org/forum/servers/19666-vsftpd-server-425-use-port-pasv-first.html
也不行貌似只适用于linux
get this when uploading or dowloading files: Code: 425 Use PORT or PASV first. Can anyone help me?... Thread Tools Display Enjoy an ad free experience by logging in. Not a member yet? Register. 01-01-2005 #1 faigel Just Joined! Join Date Dec 2004 Location In a shop Posts 8 vsFTPd server:425 Use PORT or PASV first. i get this when uploading or dowloading files: Code: 425 Use PORT or PASV first. Can anyone help me? Reply With Quote 12-05-2005 #2 PeeJ73 Just Joined! Join Date Dec 2005 Location Adelaide, South Australia Posts 1 PASV vs PORT The FTP server wants to know whether to use a port-mode channel or passive-mode data channel. Most clients will set this up for you transparently (and generally choose passive cos its newer and better). To send a command to the server you use the quote command. Hence if you type: quote PASV then it should all work nicely. As an aside, if you type remotehelp then it should show you all the commands that the server can receive - all these can be used with the quote command. Reply With Quote