Groups | Blog | Home
all groups > iis ftp > may 2005 >

iis ftp : Why the transfer between two servers didn't work?



An
5/24/2005 12:00:00 AM
Hello!
Following the RFC959 about the transfer between
two servers,I open two cmd windows W1 and W2. Here,
W1 connects to server A (211.64.60.9),W2 connects
to server B (210.72.224.145). And I want to transfer
file from B to A,so I enter the commands in the order
bellow:
1)W1: quote PASV
227 Entering Passive Mode (211,64,60,9,4,181)
2)W2: quote port 211,64,60,9,4,181
200 PORT command successful
3)W1: quote stor abc.txt
.....
4)W2: quote retr /abc.txt
150 Connecting to port 1205
5)W1:
426 Data connection closed, receive file abc.txt aborted.
530 Only client IP address allowed to connect to PASV socket.

The result is that,there is only an empty file abc.txt found in
server A. What's the cause?
-------------------------------------------------------
An


Here is the RFC959 comment on transfer between two servers:

User-PI - Server A User-PI - Server B
------------------ ------------------

C->A : Connect C->B : Connect
C->A : PASV
A->C : 227 Entering Passive Mode. A1,A2,A3,A4,a1,a2
C->B : PORT A1,A2,A3,A4,a1,a2
B->C : 200 Okay
C->A : STOR C->B : RETR
B->A : Connect to HOST-A, PORT-a




Bernard
5/24/2005 12:00:00 AM
Is this IIS FTP server?
[quoted text, click to view]

For IIS, you can try refer this kb
HOW TO: Perform a Server-to-Server FTP Transfer by Using IIS
http://support.microsoft.com/?id=247132

--
Regards,
Bernard Cheah
http://www.microsoft.com/iis/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/


[quoted text, click to view]

An
5/24/2005 12:00:00 AM
Thank you!Bernard.
I don't know if it is IIS,I only know one of them is a Serv-U FTP
server,the other one,I'm not sure what it is.
Reading the link page you told me,I think perhaps the function of
transfer between two servers is disable by default.Do you agree?
---------------------------------------------------
An

Bernard
5/25/2005 12:00:00 AM
Yes, by default the value is 0 which is disabled.

--
Regards,
Bernard Cheah
http://www.microsoft.com/iis/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/


[quoted text, click to view]

An
5/25/2005 12:00:00 AM
Thanks,Now I understand a little bit.
Do you think the the regisry setting must be done
in both servers£¿If the file transfer direction is
from B to A,do you think it is necessisary to set
the value in server B?
----------------------------------------------------
An

Bernard
5/26/2005 12:00:00 AM
The above applied to IIS Ftp server, for third party - I'm not really sure.

--
Regards,
Bernard Cheah
http://www.microsoft.com/iis/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button