InternetHeaders

I just realized that I ask for an InternetHeaders entry that have more fields…:

Content-Disposition: inline; filename="tz960617.gif"

I get it with:

Local_File_Name = MyHeader.Value("Content-Disposition")

All I want is the filename part. Is there’s a solution other than using NthField(Local_File_Name, Chr(34),2) ?

Tested and this works fine:


Local_File_Name = MyHeader.Value("Content-Disposition")
Local_File_Name = NthField(Local_File_Name, Chr(34), 2)