Version Description
- Fix: False "FTP verification failed: File may be corrupted" error.
Download this release
Release Info
Developer | infinitewp |
Plugin | InfiniteWP Client |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- backup.class.multicall.php +4 -3
- init.php +2 -2
- readme.txt +3 -0
backup.class.multicall.php
CHANGED
@@ -3980,8 +3980,8 @@ function ftp_backup($historyID,$args = '')
|
|
3980 |
function postUploadVerification(&$obj, $backup_file, $destFile, $type = "", $as3_bucket = "")
|
3981 |
{
|
3982 |
$actual_file_size = iwp_mmb_get_file_size($backup_file);
|
3983 |
-
$size1 = $actual_file_size-((0.
|
3984 |
-
$size2 = $actual_file_size+((0.
|
3985 |
if($type == "dropbox")
|
3986 |
{
|
3987 |
$dBoxMetaData = $obj -> metadata($destFile);
|
@@ -4020,7 +4020,8 @@ function ftp_backup($historyID,$args = '')
|
|
4020 |
}
|
4021 |
else if($type == "ftp")
|
4022 |
{
|
4023 |
-
|
|
|
4024 |
if($ftp_file_size > 0)
|
4025 |
{
|
4026 |
if((($ftp_file_size >= $size1 && $ftp_file_size <= $actual_file_size) || ($ftp_file_size <= $size2 && $ftp_file_size >= $actual_file_size) || ($ftp_file_size == $actual_file_size)) && ($ftp_file_size != 0))
|
3980 |
function postUploadVerification(&$obj, $backup_file, $destFile, $type = "", $as3_bucket = "")
|
3981 |
{
|
3982 |
$actual_file_size = iwp_mmb_get_file_size($backup_file);
|
3983 |
+
$size1 = $actual_file_size-((0.1) * $actual_file_size);
|
3984 |
+
$size2 = $actual_file_size+((0.1) * $actual_file_size);
|
3985 |
if($type == "dropbox")
|
3986 |
{
|
3987 |
$dBoxMetaData = $obj -> metadata($destFile);
|
4020 |
}
|
4021 |
else if($type == "ftp")
|
4022 |
{
|
4023 |
+
ftp_chdir ($obj , dirname($destFile));
|
4024 |
+
$ftp_file_size = ftp_size($obj, basename($destFile));
|
4025 |
if($ftp_file_size > 0)
|
4026 |
{
|
4027 |
if((($ftp_file_size >= $size1 && $ftp_file_size <= $actual_file_size) || ($ftp_file_size <= $size2 && $ftp_file_size >= $actual_file_size) || ($ftp_file_size == $actual_file_size)) && ($ftp_file_size != 0))
|
init.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: InfiniteWP - Client
|
|
4 |
Plugin URI: http://infinitewp.com/
|
5 |
Description: This is the client plugin of InfiniteWP that communicates with the InfiniteWP Admin panel.
|
6 |
Author: Revmakx
|
7 |
-
Version: 1.3.
|
8 |
Author URI: http://www.revmakx.com
|
9 |
*/
|
10 |
/************************************************************
|
@@ -26,7 +26,7 @@ Author URI: http://www.revmakx.com
|
|
26 |
**************************************************************/
|
27 |
|
28 |
if(!defined('IWP_MMB_CLIENT_VERSION'))
|
29 |
-
define('IWP_MMB_CLIENT_VERSION', '1.3.
|
30 |
|
31 |
|
32 |
|
4 |
Plugin URI: http://infinitewp.com/
|
5 |
Description: This is the client plugin of InfiniteWP that communicates with the InfiniteWP Admin panel.
|
6 |
Author: Revmakx
|
7 |
+
Version: 1.3.3
|
8 |
Author URI: http://www.revmakx.com
|
9 |
*/
|
10 |
/************************************************************
|
26 |
**************************************************************/
|
27 |
|
28 |
if(!defined('IWP_MMB_CLIENT_VERSION'))
|
29 |
+
define('IWP_MMB_CLIENT_VERSION', '1.3.3');
|
30 |
|
31 |
|
32 |
|
readme.txt
CHANGED
@@ -48,6 +48,9 @@ Credits: [Vladimir Prelovac](http://prelovac.com/vladimir) for his worker plugin
|
|
48 |
|
49 |
== Changelog ==
|
50 |
|
|
|
|
|
|
|
51 |
= 1.3.2 =
|
52 |
* Fix: Dropbox backup upload in single call more then 50MB file not uploading issue.
|
53 |
|
48 |
|
49 |
== Changelog ==
|
50 |
|
51 |
+
= 1.3.3 =
|
52 |
+
* Fix: False "FTP verification failed: File may be corrupted" error.
|
53 |
+
|
54 |
= 1.3.2 =
|
55 |
* Fix: Dropbox backup upload in single call more then 50MB file not uploading issue.
|
56 |
|