Thanks for asking about this; this has been one of my longstanding backlog issues, and I've added support for this in Fiddler 2.4.8.5.
This build supports opening PCAP, CAP, PCAPNG, HAR, and TSTEST files directly via the command line. You can also hold down CTRL while dropping one of these file types directly on the Fiddler Session List to cause it to be treated as an import operation.
Fiddler Transcoder developers can use a new overload of the ProfferFormatAttribute that lists supported file extensions, like so:
[ProfferFormat("Packet Capture", "The PCAP and CAP formats are ...", ".cap;.pcap;.pcapng")]
The filename specified by the user will be in the options dictionary passed to the ImportSessions function:
if (null != dictOptions)
{
if (dictOptions.ContainsKey("Filename")) {
sFilename = dictOptions["Filename"] as string;
}
if (dictOptions.ContainsKey("Quiet"))
{
bSilent = ("True".OICEquals((dictOptions["Quiet"] as string)));
}
}