• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FFFTPのソースコードです。


Commit MetaInfo

Révision91e53f38be77b8d53a9509b748273a9aefce84b7 (tree)
l'heure2011-10-31 20:20:31
Auteurs_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Message de Log

Fix bugs of corruption on resuming downloading files larger than 4GB.
Modify documents for 1.99.

Change Summary

Modification

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
--- a/doc/eng/FFFTP.txt
+++ b/doc/eng/FFFTP.txt
@@ -34,6 +34,15 @@ Changes in Ver.1.99
3434 -- MLSD command became used for retrieving filenames on appropriate hosts.
3535 That is helpful for hosts that do not return filenames properly.
3636
37+-- Changed to connect to hosts with Punycode if their names contain
38+ international characters.
39+
40+-- Fixed bugs of resetting the current directory on reconnection.
41+
42+-- FTP over Implicit SSL/TLS became available.
43+
44+-- Fixed bugs of corruption on resuming downloading files larger than 4GB.
45+
3746
3847 Outline
3948 -------
--- a/doc/eng/history.txt
+++ b/doc/eng/history.txt
@@ -6,6 +6,15 @@ Changes in Ver.1.99
66 -- MLSD command became used for retrieving filenames on appropriate hosts.
77 That is helpful for hosts that do not return filenames properly.
88
9+-- Changed to connect to hosts with Punycode if their names contain
10+ international characters.
11+
12+-- Fixed bugs of resetting the current directory on reconnection.
13+
14+-- FTP over Implicit SSL/TLS became available.
15+
16+-- Fixed bugs of corruption on resuming downloading files larger than 4GB.
17+
918 Changes in Ver.1.98b
1019 --------------------
1120
--- a/doc/jpn/FFFTP.txt
+++ b/doc/jpn/FFFTP.txt
@@ -34,6 +34,18 @@ Ver 1.99
3434  取得するようにしました。LISTコマンドの応答に特定のファイルが
3535  含まれない一部のホストでも正しく列挙できる可能性が高くなります。
3636
37+・日本語ドメイン名のホストへの接続時にアドレスをPunycodeへ変換してから
38+ 接続するように変更しました。
39+
40+・ホストへの再接続時にホストの現在のディレクトリが再設定されないバグを
41+ 修正しました。
42+
43+・ホストとの接続にFTP over Implicit SSL/TLS(略称FTPS Implicit、
44+ FTPIS)が使用できるようになりました。
45+
46+・ダウンロードのリジューム時に4GBを超えるファイルが正常に扱えないバグを
47+ 修正しました。
48+
3749
3850 Ver 1.96d以前へ戻す場合
3951 -----------------------
--- a/doc/jpn/history.txt
+++ b/doc/jpn/history.txt
@@ -6,6 +6,18 @@ FFFTP
66  取得するようにしました。LISTコマンドの応答に特定のファイルが
77  含まれない一部のホストでも正しく列挙できる可能性が高くなります。
88
9+・日本語ドメイン名のホストへの接続時にアドレスをPunycodeへ変換してから
10+ 接続するように変更しました。
11+
12+・ホストへの再接続時にホストの現在のディレクトリが再設定されないバグを
13+ 修正しました。
14+
15+・ホストとの接続にFTP over Implicit SSL/TLS(略称FTPS Implicit、
16+ FTPIS)が使用できるようになりました。
17+
18+・ダウンロードのリジューム時に4GBを超えるファイルが正常に扱えないバグを
19+ 修正しました。
20+
921 ■Ver 1.98b
1022
1123 ・信頼できないDLLの読み込みを防ぐ機能を追加しました。Microsoftの署名が
--- a/getput.c
+++ b/getput.c
@@ -1502,8 +1502,12 @@ static int DownLoadFile(TRANSPACKET *Pkt, SOCKET dSkt, int CreateMode, int *Canc
15021502 char Buf3[(BUFSIZE + 3) * 4];
15031503 CODECONVINFO cInfo2;
15041504 int ProcessedBOM = NO;
1505+ // 4GB超対応(kaokunさん提供)
1506+ DWORD High = 0;
15051507 if(CreateMode == OPEN_ALWAYS)
1506- SetFilePointer(iFileHandle, 0, 0, FILE_END);
1508+ // 4GB超対応(kaokunさん提供)
1509+// SetFilePointer(iFileHandle, 0, 0, FILE_END);
1510+ SetFilePointer(iFileHandle, 0, &High, FILE_END);
15071511
15081512 if(Pkt->hWndTrans != NULL)
15091513 {