Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
We can now use jumploader with SMB, SFTP, FS and FTP drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasCresson committed Jul 24, 2013
1 parent 1616021 commit 44d0c58
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/src/plugins/uploader.jumploader/jumploader_tpl.html
Expand Up @@ -7,9 +7,10 @@

$repository = ConfService::getRepository();
$accessType = $repository->getAccessType();
if($accessType == "fs"){
$partitionLength = $UploadMaxSize - 1000;
}else if($accessType == "remotefs"){

$partitionLength = $UploadMaxSize - 1000;

if($accessType == "remotefs"){
$maxFileLength = $UploadMaxSize;
}else if($accessType == "ftp"){
$partitionLength = $UploadMaxSize - 1000;
Expand Down

0 comments on commit 44d0c58

Please sign in to comment.