Forum Moderators: open

Message Too Old, No Replies

Parse SWF from ASP?

         

jgaffney

5:15 pm on Apr 7, 2003 (gmt 0)

10+ Year Member



Can anyone provide an ASP code example that retrieves an SWF file from an arbitrary URL and then extracts any URLs from the SWF contents?

I've written a web spider for a certain project and am using Msxml2.ServerXMLHTTP to get HTML files. Works great, but not for Flash.

I understand that URLs may exist in the SWF in text format, but I'm unclear how to load the SWF into an ASP variable for examination...

Xoc

11:30 am on Apr 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The problem is that you are retrieving binary information, but want to treat it like string data. The first ascii zero in the file will terminate the string. You need to figure out a way to retrieve binary data for this to work.