I am successfully using FtpWebRequest to transfer files between the local computer and my web site (hosted off-site).
ftpReq = FtpWebRequest.Create(str_U
ftpReq.KeepAlive = False
ftpReq.Credentials = New NetworkCredential(p_str_Us
ftpReq.Method = WebRequestMethods.Ftp.ListDirectory
ftpReq.Proxy = Nothing
ftpReq.UsePassive = False
ftpReq.Timeout = p_int_Timeout
Dim sr As New StreamReader(ftpReq.GetRes
I can remotely access the office server (a DNS-323) using the connection string "ftp://
rt>/". The office is served via Verizon FIOS and gets a dynamic DNS assigned at the whim of Verizon.
I would like to accomplish the same thing through DynDNS remote access. I can successfully do this through IE9 using the connection string "ftp://
HOWEVER, when I try this using FtpWebRequest, I get the message "The data connection was made from an address that is different than the address to which the ftp connection was made".
How do I need to tweak FtpWebRequest to make this work?
Thank you in advance for your help!