Question : Setting up an FTP site on SBS2008

I've set up an ftp site in IIS6 on my SBS2008 box. Whenever I try to access it, I get a message:

Connection closed by remote host.

I get this message even if I try to connect via the internal network. I've set up ftp sites previosuly and I thought i'd done everything correctly.

 

Answer : Setting up an FTP site on SBS2008

I copy/paste your Hex Code into my Hex.txt and parse it using this method (see code).

I recreate the exact same data (except for the lower case generated from my hex viewer tool):

30818902818100b17d325a8a507d48dbdfcbe2e63649b00c0ecdc2405fa3b017f06ebfb92515234829773bb9ff2e8695cc6093bc137b7bd90ebddfe1d6ce45f97085ffc35ade5e3ebdec1204002566469507f81f6005930849f73114b9beddcf181c81b6d43a668c9b9a164eef6d6df23db62f4e72655725b69918c820bdb6f6954f2156cd74470203010001

Original hex:

30818902818100B17D325A8A507D48DBDFCBE2E63649B00C0ECDC2405FA3B017F06EBFB92515234829773BB9FF2E8695CC6093BC137B7BD90EBDDFE1D6CE45F97085FFC35ADE5E3EBDEC1204002566469507F81F6005930849F73114B9BEDDCF181C81B6D43A668C9B9A164EEF6D6DF23DB62F4E72655725B69918C820BDB6F6954F2156CD74470203010001
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
        Dim input As StreamReader
        Dim output As FileStream
        Dim hexLine As String

        input = File.OpenText("hex.txt")
        output = File.Create("text.txt")

        While Not input.EndOfStream
            hexLine = input.ReadLine()
            Dim StrLen As Integer = hexLine.Length
            Dim a As Integer = 0

            While a < StrLen
                output.WriteByte(Byte.Parse(hexLine.Substring(a, 2), System.Globalization.NumberStyles.HexNumber))
                a = a + 2
            End While

        End While

        input.Close()
        output.Close()
Random Solutions  
 
programming4us programming4us