Looping when uploading a file

Please check my file log. Many a times it shows file mismatch and loops the upload. Please help

[12:58:07] PORT 192,168,0,27,6,235
[12:58:08] An established connection was aborted by the software in your host machine.
[12:58:08] Server closed connection
[12:58:38] Resolving host name "67.225.139.114"
[12:58:38] Connecting to 67.225.139.114 Port: 21
[12:58:39] Connected to 67.225.139.114.
[12:58:39] 220 Microsoft FTP Service
[12:58:39] USER xxxx
[12:58:39] 331 Password required for xxxx.
[12:58:39] PASS (hidden)
[12:58:40] 230 User rgreet4565 logged in.
[12:58:40] SYST
[12:58:40] 215 Windows_NT
[12:58:40] Detected Server Type: Windows NT
[12:58:40] FEAT
[12:58:41] 211-FEAT
[12:58:41] SIZE
[12:58:41] MDTM
[12:58:41] 211 END
[12:58:41] TYPE I
[12:58:41] 200 Type set to I.
[12:58:41] REST 0
[12:58:42] 350 Restarting at 0.
[12:58:42] PWD
[12:58:42] 257 "/" is current directory.
[12:58:42] CWD /httpdocs
[12:58:43] 250 CWD command successful.
[12:58:43] PWD
[12:58:43] 257 "/httpdocs" is current directory.
[12:58:43] Remote file exist check: "index.php".
[12:58:43] SIZE index.php
[12:58:43] 213 23457
[12:58:43] MDTM index.php
[12:58:44] 213 20080602051306
[12:58:44] Source File: Size=23461, SizeUnit=Byte, Time=1601-01-01T00:00:00, TimeFormat=Exact
[12:58:44] Destination File: Size=23457, SizeUnit=Byte, Time=2008-06-02T05:13:06, TimeFormat=Not Exact
[12:58:44] RecentTime=2008-06-03T07:28:08
[12:58:44] Rule "IF Destination Time=Recent AND Size=Smaller AND Transfer=No Matter THEN Resume" matched. Action="Resume".
[12:58:44] PORT 192,168,0,27,6,237
[12:58:44] 200 PORT command successful.
[12:58:44] REST 23457
[12:58:45] 350 Restarting at 23457.
[12:58:45] STOR index.php
[12:58:45] 150 Opening BINARY mode data connection for index.php.
[12:58:45] 4 bytes transferred. (N/A/s) (0 ms)
[12:58:46] 226 Transfer complete.
[12:58:46] SIZE index.php
[12:58:46] 213 23457
[12:58:46] File size mismatch.
[12:59:16] Remote file exist check: "index.php".
[12:59:16] SIZE index.php
[12:59:17] 213 23457
[12:59:17] MDTM index.php
[12:59:17] 213 20080602051306
[12:59:17] Source File: Size=23461, SizeUnit=Byte, Time=1601-01-01T00:00:00, TimeFormat=Exact
[12:59:17] Destination File: Size=23457, SizeUnit=Byte, Time=2008-06-02T05:13:06, TimeFormat=Not Exact
[12:59:17] RecentTime=2008-06-03T07:28:46
[12:59:17] Rule "IF Destination Time=Recent AND Size=Smaller AND Transfer=No Matter THEN Resume" matched. Action="Resume".
[12:59:17] PORT 192,168,0,27,6,238
[12:59:17] 200 PORT command successful.
[12:59:17] REST 23457
[12:59:18] 350 Restarting at 23457.
[12:59:18] STOR index.php
[12:59:18] 150 Opening BINARY mode data connection for index.php.
[12:59:19] 4 bytes transferred. (266 bytes/s) (15 ms)
[12:59:19] 226 Transfer complete.
[12:59:19] SIZE index.php
[12:59:19] 213 23457
[12:59:19] File size mismatch.
[12:59:49] Remote file exist check: "index.php".
[12:59:49] SIZE index.php
[12:59:50] 213 23457
[12:59:50] MDTM index.php
[12:59:50] 213 20080602051306
[12:59:50] Source File: Size=23461, SizeUnit=Byte, Time=1601-01-01T00:00:00, TimeFormat=Exact
[12:59:50] Destination File: Size=23457, SizeUnit=Byte, Time=2008-06-02T05:13:06, TimeFormat=Not Exact
[12:59:50] RecentTime=2008-06-03T07:29:19
[12:59:50] Rule "IF Destination Time=Recent AND Size=Smaller AND Transfer=No Matter THEN Resume" matched. Action="Resume".
[12:59:50] PORT 192,168,0,27,6,239
[12:59:50] 200 PORT command successful.
[12:59:50] REST 23457
[12:59:51] 350 Restarting at 23457.
[12:59:51] STOR index.php
[12:59:51] 150 Opening BINARY mode data connection for index.php.
[12:59:52] 4 bytes transferred. (266 bytes/s) (15 ms)
[12:59:52] 226 Transfer complete.
[12:59:52] SIZE index.php
[12:59:52] 213 23457
[12:59:52] File size mismatch.
[13:00:22] Remote file exist check: "index.php".
[13:00:22] SIZE index.php
[13:00:23] 213 23457
[13:00:23] MDTM index.php
[13:00:23] 213 20080602051306
[13:00:23] Source File: Size=23461, SizeUnit=Byte, Time=1601-01-01T00:00:00, TimeFormat=Exact
[13:00:23] Destination File: Size=23457, SizeUnit=Byte, Time=2008-06-02T05:13:06, TimeFormat=Not Exact
[13:00:23] RecentTime=2008-06-03T07:29:52
[13:00:23] Rule "IF Destination Time=Recent AND Size=Smaller AND Transfer=No Matter THEN Resume" matched. Action="Resume".
[13:00:23] PORT 192,168,0,27,6,240
[13:00:23] 200 PORT command successful.
[13:00:23] REST 23457
[13:00:24] 350 Restarting at 23457.
[13:00:24] STOR index.php
[13:00:24] 150 Opening BINARY mode data connection for index.php.
[13:00:25] 4 bytes transferred. (N/A/s) (0 ms)
[13:00:25] 226 Transfer complete.
[13:00:25] SIZE index.php
[13:00:25] 213 23457
[13:00:25] File size mismatch.

It's a server/network problem. SmartFTP sends 4 bytes and the server never receives them.

Regards,
Mat