Hi,
I am trying to send (upload) a file to a remote server using System.Net.FtpWebRequest, but the only way I can get it to succeed is by opeing my Firewall to both inbound and outbound TCP traffic on all ports. I have tried restricting it to the obvious ports 20 and 21, but without siuccess. (Trouble is, I think, with my limited understanding of FTP protocols, is that it also uses randomly assigned ports > 1023.)
Also, even then only works with
Dim ftp1 As FtpWebRequest
ftp1.UsePassive = False
which isn't necessarily an issue in itself...
btw, I am on a Win7 machine. The error returned is a timeout one - the Firewall is evidently blocking it - I would be grateful for any advice
thanks
fX
I am trying to send (upload) a file to a remote server using System.Net.FtpWebRequest, but the only way I can get it to succeed is by opeing my Firewall to both inbound and outbound TCP traffic on all ports. I have tried restricting it to the obvious ports 20 and 21, but without siuccess. (Trouble is, I think, with my limited understanding of FTP protocols, is that it also uses randomly assigned ports > 1023.)
Also, even then only works with
Dim ftp1 As FtpWebRequest
ftp1.UsePassive = False
which isn't necessarily an issue in itself...
btw, I am on a Win7 machine. The error returned is a timeout one - the Firewall is evidently blocking it - I would be grateful for any advice
thanks
fX