Author: Blue_Wolf101 | Posted on: 12/19/2008 10:25:57 AM | Views : 283

In my ASP website, I've have logic to pull back a list of files from an FTP site folder, then when the user selects one and presses a button it will open the file using this logic: 


            daDate = dtpDate.SelectedDate
            sFile = lstFiles.SelectedValue
            sPath = sPath & Format(daDate, "yyyy/MM/dd") & "/"
            Dim sFilePath As String = "ftp://" & sUser & ":" & sPass & "@" & sHost & "/" & sPath & sFile

            Response.Write("<script language = ""Javascript"">var win=window.open('" + ...

Go to the complete details ...