I am writing a CGI in VB that allows file upload. So far I can get the datastream from the stdin..user goes to a webpage and specifies a pathname, posting the data to a cgi with enctype='multipart/form-data'...problem is, now that I have the data, how do I go about parsing it to pull out the headers so I can write my data to the appropriate file? Any ideas?

xxMariusxx