Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Public Shared Sub saveToHardDrive(filename As String, Response As HttpResponse, _ textToWriteToFile As String, fileExtension As String) 'response to prompt user to save. Response.ClearContent() Response.ContentType = "text/plain" 'replace spaces with %20, prevents IE replacing with _ underscores If HttpContext.Current.Request.UserAgent.Contains("MSIE 7.0") Then filename = filename.Replace(" ", "%20") End If 'add XML to filename If Not filename.EndsWith(fileExtension) Then filename += fileExtension End If Response.AddHeader("Content-disposition", "attachment;filename=""" + filename + """") Response.Write(textToWriteToFile) Response.BufferOutput = True Response.Flush() Response.Close() End Sub