- try {
-
- //File file = File.new_tmp ("cookie-XXXXXX.txt", out iostream);
- //print("cookie tmp file name: %s\n", file.get_path ());
-
+ try {
+ FileIOStream iostream;
+ File file = File.new_tmp ("cookie-XXXXXX.txt", out iostream);
+ this.cookie_file = file.get_path ();
+ print("cookie tmp file name: %s\n", file.get_path ());
+
+ OutputStream ostream = iostream.output_stream;