Ubuntu braimstorm
It is currently Thu May 23, 2013 4:19 am

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
   

Topic review - FDM 3.9.1 Release Candidate
Author Message
  Post subject:  Re: FDM 3.9.1 Release Candidate  Reply with quote
@Alex

I sent you on 05.09.2012 (to gmail fdsupport email) the italian translation for FDM.

The latest build don't include it. Please include it and rebuild the application.
Post Posted: Fri Dec 28, 2012 8:08 am
  Post subject:  Re: FDM 3.9.1 Release Candidate  Reply with quote
Please update the plugin for Opera 12 and new
Post Posted: Wed Dec 26, 2012 3:27 pm
  Post subject:  Re: FDM 3.9.1 Release Candidate  Reply with quote
Hello
Thanks a lot. I was very angry because of no update. There were many problems with utf-8 characters (like Persian language) in windows 8. I will try to see are they fixed or not! thanks again.
Post Posted: Wed Dec 26, 2012 10:41 am
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Hi!
3.9.1 RC build 1275 is released.

PGomersall wrote:
I posted a reply in May about the add-in for IE not working with many sites while running W8. In RTM of W8 and most recent patch of IE10 most sites work and downloading seems to mainly work. One sites that FDM add-in still breaks is the DirecTV guide page again this is on IE10.
Pete


This must be fixed in 3.9.1 build 1275. Please check it.
Post Posted: Wed Dec 26, 2012 4:48 am
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
PGomersall wrote:
I posted a reply in May about the add-in for IE not working with many sites while running W8. In RTM of W8 and most recent patch of IE10 most sites work and downloading seems to mainly work. One sites that FDM add-in still breaks is the DirecTV guide page again this is on IE10.
Pete


Facebook breaks with this too, among others. Something in FDM is affecting IE10 when it comes to request validation type of things.

There is a workaround for this though. After quitting FDM (not just minimized to the tray), close all IE windows (make sure all iexplore.exe is gone from the task manager), then when you re-launch IE, it'll be fine again until you run FDM. Oh, and make sure the FDM IE plugin is disabled.
Post Posted: Sat Dec 22, 2012 7:44 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
I posted a reply in May about the add-in for IE not working with many sites while running W8. In RTM of W8 and most recent patch of IE10 most sites work and downloading seems to mainly work. One sites that FDM add-in still breaks is the DirecTV guide page again this is on IE10.
Pete
Post Posted: Thu Dec 20, 2012 3:08 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Hey Alex when you lunch your new product why donot you make FDM quarterly every 3 month it will come with a new/enhance features and when do we get new look of fdm.

thank you
Post Posted: Sun Dec 16, 2012 4:03 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Alex wrote:
Tiger.711 wrote:
FDM no longer starts after the normal reboot the PC.
It's crash after starting the programm.


Please archive all files from %appdata%\Free Download Manager folder and send them to bugs @ freedownloadmanager.org.
Please note that these files may contain your saved passwords.

I did this
Post Posted: Sat Dec 15, 2012 12:55 pm
  Post subject:  Generate filename automatically doesn't work for files >2GB  Reply with quote
Firstly I just want to say thanks for releasing such a great tool on the Internet!

I have found an issue where the "Generate filename automatically" doesn't work some times, through a process of troubleshooting I determined it was for HTTP/HTTPS downloads greater than 2GB.

I have confirmed the bug exists in FDM 3.9.0 and FDM 3.9.1 Beta build 1268.

I suspect from the subject you will have a pretty good idea where the issue is.

I took a look at the latest source I could find - (on a side note I found the source pretty involved to get going without any guiding notes/documentation not to mention using old/specific library versions - don't get me wrong, it is great you release the source! If you provided 1 page of notes listing the libraries and versions used (download locations a bonus) that would have have saved me hours).
I eventually got it going well enough to identify the cause and a hackish fix to confirm I was on the right track.
Overall my build was not stable with its intergration with Firefox (I believe I was using the wrong libraries - ultimately I don't have enough free time to get a build environment going further so will provide where I got to.

In short the issue is two different modules of code is used for http downloads.
If the file turns out to be larger than 2GB, it hands over to InetFile/fsInternetFile2.cpp.

The v2 file doesn't extract the filename from the "content-disposition" header to populate the m_strSuggFileName variable.

My initial hack I did to prove I was onto a working solution, was adding code into the v2 code that would use the v1 m_strSuggFileName variable if the v2 m_strSuggFileName was NULL.

I started on a cleaner patch into a clean install (trying to get libraries sorted etc), I don't believe I finished, but include what I started on below (which is basically stealing some of your code from v1 and putting it into v2 - from memory it doesn't fully work because you need to get access to the raw headers to get access to the "content-disposition") - then again I could be wrong it may work perfectly, this was months ago!

Hopefully the above notes expedite a solution in the main product.

Thanks again for a developing such as great product,

- M

Code:
Index: InetFile/fsInternetFile2.cpp
===================================================================
--- InetFile/fsInternetFile2.cpp   (revision 39)
+++ InetFile/fsInternetFile2.cpp   (working copy)
@@ -85,6 +85,81 @@
       m_bDoPause = TRUE;
 }
 
+void fsInternetFile2::RetreiveSuggFileName()
+{
+   m_strSuggFileName = "";
+
+   char sz [MAX_PATH];
+   char szFile [MAX_PATH];
+   DWORD dwFL = MAX_PATH;
+   
+   // pull out the content-disposition line from m_strHttpHeader
+   LPCSTR psz = fsStrStrNoCase (m_strHttpHeader, "content-disposition");
+   if (psz == NULL)
+      return;
+
+
+//   if (FALSE == HttpQueryInfo (m_hFile, HTTP_QUERY_CONTENT_DISPOSITION, sz, &dwFL, NULL))
+//      return;
+
+   
+   LPCSTR psz = fsStrStrNoCase (sz, "filename");
+   if (psz == NULL)
+      return;
+
+   psz += 8;   
+   while (*psz == ' ')
+      psz++;
+   bool bCharset = false;
+   if (*psz == '*')
+   {
+      bCharset = true;
+      psz++;
+   }
+
+   if (*psz++ != '=')
+      return;
+   while (*psz == ' ') psz++;
+
+   BOOL bInvComms = FALSE;
+   if  (*psz == '"' || *psz == '\'')
+   {
+      bInvComms = TRUE;
+      psz++;
+   }
+
+   LPSTR pszFile = szFile;
+
+   while (*psz != ';' && *psz != 0)
+      *pszFile++ = *psz++;   
+
+   if (bInvComms)   
+      *(pszFile-1) = 0;   
+   else
+      *pszFile = 0;
+
+   if (bCharset)
+   {
+      LPCSTR psz = strstr (szFile, "''");
+      if (psz != NULL)
+      {
+         if (strnicmp (szFile, "utf-8", 5) == 0)
+         {
+            wchar_t wsz [MAX_PATH];
+            MultiByteToWideChar (CP_UTF8, 0, psz+2, -1, wsz, MAX_PATH);
+            WideCharToMultiByte (CP_ACP, 0, wsz, -1, szFile, MAX_PATH, "_", NULL);
+         }
+         else
+         {
+            lstrcpy (szFile, psz+2);
+         }         
+      }
+   }
+
+   m_strSuggFileName = szFile;
+}
+
+
 fsInternetResult fsInternetFile2::StartDownloading()
 {
    if (m_bDownloading == false)
@@ -115,6 +190,11 @@
       if (m_strHttpHeader.IsEmpty () == FALSE)
          Dialog (IFDD_FROMSERVER, m_strHttpHeader);
 
+      if (m_strHttpHeader.IsEmpty () == FALSE){
+         // MG HACK to get the suggested filename filename from the header
+         RetreiveSuggFileName();
+      }
+
       
       return m_irLastError;
    }
Post Posted: Sat Dec 15, 2012 9:03 am
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Alex wrote:
Tiger.711 wrote:
FDM no longer starts after the normal reboot the PC.
It's crash after starting the programm.


Please archive all files from %appdata%\Free Download Manager folder and send them to bugs @ freedownloadmanager.org.
Please note that these files may contain your saved passwords.

when final?
Post Posted: Fri Dec 14, 2012 7:59 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Tiger.711 wrote:
FDM no longer starts after the normal reboot the PC.
It's crash after starting the programm.


Please archive all files from %appdata%\Free Download Manager folder and send them to bugs @ freedownloadmanager.org.
Please note that these files may contain your saved passwords.
Post Posted: Fri Dec 14, 2012 5:16 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
I already have faced with this problem before
Post Posted: Fri Dec 14, 2012 3:47 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Tiger.711 wrote:
FDM no longer starts after the normal reboot the PC.
It's crash after starting the programm.
Uninstall latest updates from Windows Update and report problems as recommended in "How to report a bug" topic, please.
Post Posted: Fri Dec 14, 2012 2:09 pm
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
FDM no longer starts after the normal reboot the PC.
It's crash after starting the programm.
Post Posted: Fri Dec 14, 2012 5:17 am
  Post subject:  Re: FDM 3.9.1 BETA  Reply with quote
Neil from Ohio, converting to underscores is not what the original file name was and not what other DL methods yield. Changing to underscores may cause some using program to fail. I stick with changing to blanks (ASCII x20). Enjoy, J.
Post Posted: Thu Dec 13, 2012 9:30 pm

All times are UTC


Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Copyright © 2004-2012. Free Download Manager.ORG. All rights reserved