Session.SaveResponseBody() doesn't work if parameter "sFilename" is "bald"

1 posts, 0 answers
  1. core
    core avatar
    5 posts
    Member since:
    Nov 2014

    Posted 30 Oct Link to this post

    Hi:

    Though this may not be necessarily a bug, yet I am still posting it here:

    I am using the following 2 lines

     

    sess.utilDecodeResponse();
    sess.SaveResponseBody(@"a.bin")

     

    I noticed that looks like the 2nd line would fail, at least, I can't find file "a.bin". Yet if change the parameter to @".\a.bin" then it would work.

    Looks like this API doesn't accept a "bald" filename?

     

     

Back to Top