在做一个FTP上传下载的程序,访问本地FTP执行到这里的时候会出现" 226 Tansfer completed. "访问其他远程FTP就都没有问题,不明白为什么,请教各位大虾!
'Send an FTP command to retrieve a file.
SendCommand("RETR " & sFileName)
If (Not (m_iRetValue = 150 Or m_iRetValue = 125)) Then
output.Close()
MessageString = m_sReply
Throw New IOException(m_sReply.Substring(4))
End If