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
Is this IIS FTP server? [quoted text, click to view] >> 530 Only client IP address allowed to connect to PASV socket.
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" <pinetree@263.com> wrote in message news:eEmoV3AYFHA.1796@TK2MSFTNGP15.phx.gbl... > 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 > > > > >
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
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" <ayk@bzmc.edu.cn> wrote in message news:uGrGMCIYFHA.3212@TK2MSFTNGP10.phx.gbl... > 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 > >
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
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] "An" <ayk@bzmc.edu.cn> wrote in message news:eLGhWlSYFHA.796@TK2MSFTNGP10.phx.gbl... > 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 > >
Don't see what you're looking for? Try a search.
|