« first day (1764 days earlier)      last day (2353 days later) » 

 
4 hours later…
6:36 AM
Can anyone help me on below
How to represent java consumer at C++ side while using JNI?
I need to invoke a java method which takes java Consumer as input argument,and return callback on same object
My java code in java test application which I want same at C++ Side
Consumer<DemoAdapter> callbackLogin = demoAdapter -> {
if (webBrowser != null) {
webBrowser.stop();
}
};
Consumer<DemoAdapter> callbackLogout = demoAdapter -> {
if (webBrowser != null) {
webBrowser.stop();
}
};

// Create
AdapterConfig config = Builder.buildConfig();
 
1 message moved from Java
 
6:52 AM
@Tavo is this chat rooms are not for asking questions?
 
8:31 AM
Hello, everybody
I have wp some issue
could you help me?
Issue is below:
I am making wp backup and restore plugin
restore is working well by chunk restore method about any size recursive folder
but backup is not working about big size
backup function is working well about 1gbyte
This is my code that i tried
/**
* kjin Uploads folder Backup
*/
// function zipData($source, $destination) {
// if (extension_loaded('zip')) {
// if (file_exists($source)) {
// $zip = new ZipArchive();
// if ($zip -> open($destination, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE) === TRUE) {
// $source = realpath($source);
// if (is_dir($source)) {
// $iterator = new RecursiveDirectoryIterator($source);
Help me
@Катерина help me
@NovitchiS help me
 
8:52 AM
    $destination = WP_CONTENT_DIR . '/Jincowboy/JinBackupMedia' . time() . '.zip';
    $source = $upload_dir['basedir'].'/JinBackupMedia1511312518.zip';
    $zip = new ZipArchive();
    $ret = $zip->open($destination, ZipArchive::OVERWRITE);
    if ($ret !== TRUE) {
        printf('Failed with code %d', $ret);
    } else {
        $options = array('add_path' => 'sources/', 'remove_all_path' => TRUE);
        $zip->addGlob($source, GLOB_BRACE, $options);
        $zip->close();
    }
 
9:05 AM
$destination = WP_CONTENT_DIR . '/Jincowboy/JinBackupMedia' . time() . '.zip';
$source = $upload_dir['basedir'].'/JinBackupMedia1511312518.zip';
$zip = new ZipArchive();
$ret = $zip->open($destination, ZipArchive::OVERWRITE);
if ($ret !== TRUE) {
    printf('Failed with code %d', $ret);
} else {
    $options = array('add_path' => 'sources/', 'remove_all_path' => TRUE);
    $zip->addGlob($source, GLOB_BRACE, $options);
    $zip->close();
}
 
9:30 AM
$destination = WP_CONTENT_DIR . '/Jincowboy/JinBackupMedia' . time() . '.zip';
$source = $upload_dir['basedir'];
$zip = new ZipArchive();
$ret = $zip->open($destination, ZipArchive::OVERWRITE);
if ($ret !== TRUE) {
printf('Failed with code %d', $ret);
} else {
$options = array('add_path' => 'backup/', 'remove_all_path' => false);
$zip->addGlob($source."/*", GLOB_BRACE, $options);
$zip->close();
}
 
Anonymous
3 messages moved from PHP
 
10:27 AM
13 messages moved from WPF
 
 
1 hour later…
12:35 PM
@Queen k
 
 
2 hours later…
 
2 hours later…
 
2 hours later…

« first day (1764 days earlier)      last day (2353 days later) »