How to automaticly save or export the packets which I'm interested in?

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    1 posts
    Member since:
    Jan 2015

    Posted 14 Jan 2015 Link to this post

    Hi Eirc,
         Thank you for your wonderful Fiddler first of all.
         I want use Fiddler Script to save or export the packets I'm interested in automaticly.But I don't know how to do.
        For example,I need to save all the packet to the destination hostname ''.
        I think I can add the auto save code like this:

        if ("") > -1) {
         //save or export the packet to my own file

       Does Fiddler Script supports write data to local file,And how to do it ?

       Maybe there's some other way to export or save the specific packets automaticly ,would you please tell us how to ?

  2. Eric Lawrence
    Eric Lawrence avatar
    832 posts

    Posted 15 Jan 2015 Link to this post

    Hi, Stephen--

    There are many different ways to do what you describe, depending on what exactly you plan to do with the saved sessions, how many you think will be captured, and so on.

    Without writing any code at all, you could do this with a combination of Fiddler's Filters tab and the Tools > AutoSave menu.

    Using FiddlerScript, you could save in other formats to the file of your choosing; FiddlerScript is simply JScript.NET, so you can use any of the methods in the .NET Framework (e.g. the System.IO classes) to save data. Or you can use the appropriate methods on the Session objects.

    Eric Lawrence

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top