OSDN Git Service

Fix bugs of corruption on resuming downloading files larger than 4GB.
authors_kawamoto <s_kawamoto@users.sourceforge.jp>
Mon, 31 Oct 2011 11:20:31 +0000 (20:20 +0900)
committers_kawamoto <s_kawamoto@users.sourceforge.jp>
Mon, 31 Oct 2011 11:20:31 +0000 (20:20 +0900)
Modify documents for 1.99.

FFFTP_Eng_Release/FFFTP.exe
Release/FFFTP.exe
doc/eng/FFFTP.txt
doc/eng/history.txt
doc/jpn/FFFTP.txt
doc/jpn/history.txt
getput.c

index da997a6..3b28086 100644 (file)
Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
index 8d17b5c..1322a36 100644 (file)
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
index e4a0652..527910e 100644 (file)
@@ -34,6 +34,15 @@ Changes in Ver.1.99
 -- MLSD command became used for retrieving filenames on appropriate hosts.\r
    That is helpful for hosts that do not return filenames properly.\r
 \r
+-- Changed to connect to hosts with Punycode if their names contain\r
+   international characters.\r
+\r
+-- Fixed bugs of resetting the current directory on reconnection.\r
+\r
+-- FTP over Implicit SSL/TLS became available.\r
+\r
+-- Fixed bugs of corruption on resuming downloading files larger than 4GB.\r
+\r
 \r
 Outline\r
 -------\r
index dcd803f..159aac4 100644 (file)
@@ -6,6 +6,15 @@ Changes in Ver.1.99
 -- MLSD command became used for retrieving filenames on appropriate hosts.\r
    That is helpful for hosts that do not return filenames properly.\r
 \r
+-- Changed to connect to hosts with Punycode if their names contain\r
+   international characters.\r
+\r
+-- Fixed bugs of resetting the current directory on reconnection.\r
+\r
+-- FTP over Implicit SSL/TLS became available.\r
+\r
+-- Fixed bugs of corruption on resuming downloading files larger than 4GB.\r
+\r
 Changes in Ver.1.98b\r
 --------------------\r
 \r
index 6bf235b..56e666b 100644 (file)
@@ -34,6 +34,18 @@ Ver 1.99
 \81@\8eæ\93¾\82·\82é\82æ\82¤\82É\82µ\82Ü\82µ\82½\81BLIST\83R\83}\83\93\83h\82Ì\89\9e\93\9a\82É\93Á\92è\82Ì\83t\83@\83C\83\8b\82ª\r
 \81@\8aÜ\82Ü\82ê\82È\82¢\88ê\95\94\82Ì\83z\83X\83g\82Å\82à\90³\82µ\82­\97ñ\8b\93\82Å\82«\82é\89Â\94\\90«\82ª\8d\82\82­\82È\82è\82Ü\82·\81B\r
 \r
+\81E\93ú\96{\8cê\83h\83\81\83C\83\93\96¼\82Ì\83z\83X\83g\82Ö\82Ì\90Ú\91±\8e\9e\82É\83A\83h\83\8c\83X\82ðPunycode\82Ö\95Ï\8a·\82µ\82Ä\82©\82ç\r
+\81@\90Ú\91±\82·\82é\82æ\82¤\82É\95Ï\8dX\82µ\82Ü\82µ\82½\81B\r
+\r
+\81E\83z\83X\83g\82Ö\82Ì\8dÄ\90Ú\91±\8e\9e\82É\83z\83X\83g\82Ì\8c»\8dÝ\82Ì\83f\83B\83\8c\83N\83g\83\8a\82ª\8dÄ\90Ý\92è\82³\82ê\82È\82¢\83o\83O\82ð\r
+\81@\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
+\81E\83z\83X\83g\82Æ\82Ì\90Ú\91±\82ÉFTP over Implicit SSL/TLS\81i\97ª\8fÌFTPS Implicit\81A\r
+\81@FTPIS\81j\82ª\8eg\97p\82Å\82«\82é\82æ\82¤\82É\82È\82è\82Ü\82µ\82½\81B\r
+\r
+\81E\83_\83E\83\93\83\8d\81[\83h\82Ì\83\8a\83W\83\85\81[\83\80\8e\9e\82É4GB\82ð\92´\82¦\82é\83t\83@\83C\83\8b\82ª\90³\8fí\82É\88µ\82¦\82È\82¢\83o\83O\82ð\r
+\81@\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
 \r
 Ver 1.96d\88È\91O\82Ö\96ß\82·\8fê\8d\87\r
 -----------------------\r
index e7a652a..921ade1 100644 (file)
@@ -6,6 +6,18 @@ FFFTP
 \81@\8eæ\93¾\82·\82é\82æ\82¤\82É\82µ\82Ü\82µ\82½\81BLIST\83R\83}\83\93\83h\82Ì\89\9e\93\9a\82É\93Á\92è\82Ì\83t\83@\83C\83\8b\82ª\r
 \81@\8aÜ\82Ü\82ê\82È\82¢\88ê\95\94\82Ì\83z\83X\83g\82Å\82à\90³\82µ\82­\97ñ\8b\93\82Å\82«\82é\89Â\94\\90«\82ª\8d\82\82­\82È\82è\82Ü\82·\81B\r
 \r
+\81E\93ú\96{\8cê\83h\83\81\83C\83\93\96¼\82Ì\83z\83X\83g\82Ö\82Ì\90Ú\91±\8e\9e\82É\83A\83h\83\8c\83X\82ðPunycode\82Ö\95Ï\8a·\82µ\82Ä\82©\82ç\r
+\81@\90Ú\91±\82·\82é\82æ\82¤\82É\95Ï\8dX\82µ\82Ü\82µ\82½\81B\r
+\r
+\81E\83z\83X\83g\82Ö\82Ì\8dÄ\90Ú\91±\8e\9e\82É\83z\83X\83g\82Ì\8c»\8dÝ\82Ì\83f\83B\83\8c\83N\83g\83\8a\82ª\8dÄ\90Ý\92è\82³\82ê\82È\82¢\83o\83O\82ð\r
+\81@\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
+\81E\83z\83X\83g\82Æ\82Ì\90Ú\91±\82ÉFTP over Implicit SSL/TLS\81i\97ª\8fÌFTPS Implicit\81A\r
+\81@FTPIS\81j\82ª\8eg\97p\82Å\82«\82é\82æ\82¤\82É\82È\82è\82Ü\82µ\82½\81B\r
+\r
+\81E\83_\83E\83\93\83\8d\81[\83h\82Ì\83\8a\83W\83\85\81[\83\80\8e\9e\82É4GB\82ð\92´\82¦\82é\83t\83@\83C\83\8b\82ª\90³\8fí\82É\88µ\82¦\82È\82¢\83o\83O\82ð\r
+\81@\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
 \81¡Ver 1.98b\r
 \r
 \81E\90M\97\8a\82Å\82«\82È\82¢DLL\82Ì\93Ç\82Ý\8d\9e\82Ý\82ð\96h\82®\8b@\94\\82ð\92Ç\89Á\82µ\82Ü\82µ\82½\81BMicrosoft\82Ì\8f\90\96¼\82ª\r
index 17b5e23..fdcfffa 100644 (file)
--- a/getput.c
+++ b/getput.c
@@ -1502,8 +1502,12 @@ static int DownLoadFile(TRANSPACKET *Pkt, SOCKET dSkt, int CreateMode, int *Canc
                char Buf3[(BUFSIZE + 3) * 4];\r
                CODECONVINFO cInfo2;\r
                int ProcessedBOM = NO;\r
+               // 4GB超対応(kaokunさん提供)\r
+               DWORD High = 0;\r
                if(CreateMode == OPEN_ALWAYS)\r
-                       SetFilePointer(iFileHandle, 0, 0, FILE_END);\r
+                       // 4GB超対応(kaokunさん提供)\r
+//                     SetFilePointer(iFileHandle, 0, 0, FILE_END);\r
+                       SetFilePointer(iFileHandle, 0, &High, FILE_END);\r
 \r
                if(Pkt->hWndTrans != NULL)\r
                {\r