Changeset 3239 for branches/2.0/tools
- Timestamp:
- Apr 15, 2009, 12:49:04 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/tools/piwigo_remote.pl
r3192 r3239 256 256 my %params = @_; 257 257 258 my $content = encode_base64(read_file($params{filepath}));258 my $content = read_file($params{filepath}); 259 259 my $content_length = length($content); 260 260 my $nb_chunks = ceil($content_length / $conf{chunk_size}); … … 274 274 { 275 275 method => 'pwg.images.addChunk', 276 data => $chunk,276 data => encode_base64($chunk), 277 277 original_sum => $params{original_sum}, 278 278 position => $chunk_id,
Note: See TracChangeset
for help on using the changeset viewer.