Wireshark-bugs: [Wireshark-bugs] [Bug 11908] New: [Enhancement] Using working direction in save

Date: Fri, 18 Dec 2015 23:28:44 +0000
Bug ID 11908
Summary [Enhancement] Using working direction in save dialog path
Product Wireshark
Version 2.0.0
Hardware x86-64
OS Windows 7
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
It would be nice if Wireshark could be set to either

1. honor the "current working directory" setting 
2. naming a path using a command line parameter

for specifying the "Save As" path. I need to explain this a bit probably, and
it has to do with extracting capture files to disk and then calling Wireshark
with the filename to display it.

Assume I have a program that reads a source pcap/ng, extracts some frames and
then saves them to a temporary file name in the users temporary directory. Then
I call Wireshark with that file name to display it. Work fine. So far, so good.

Often enough, I want to save that temporary file to a new file name, and of
course it would be best to store it close to the original files it was
extracted from - otherwise it is hard to remember what it was extracted from.
But Wireshark will ALWAYS default the "Save As" dialog to the temp directory it
read the pcap/ng from, so you have to manually browse to the correct folder
each and every time. Which is really time consuming and annoying. 

You can easily check this behavior:

Open a cmd prompt, go to any directory, and then call Wireshark (needs to be in
the search path, of course) with a full filename pointing to a file in a
different directory, e.g.

cd c:\temp\jasper
wireshark d:\traces\test.pcapng

Then use "Save as" - you'll see Wireshark will not use the current working
directory (which would be "c:\temp\jasper") as default save path, but
"d:\traces" where the file was read from.

It would be nice to be able to specify a "Save As" directory default path, or
enable Wireshark to honor the current working directory as default save path.


You are receiving this mail because:
  • You are watching all bug changes.