change id in the explaination section
This commit is contained in:
parent
e8b3a4ebd0
commit
8c32797fb9
@ -37,8 +37,8 @@ To upload file (max <?php print(formatBytes(_SIZE_LIMIT)); ?>): <br>
|
||||
<li> wget -q --body-file='./my_file' --method=PUT -O - <?php print($uploadurl);?><br><br>
|
||||
|
||||
To download file :<br>
|
||||
<li> curl -OJ <?php print($downloadurl . '99999');?><br>
|
||||
<li> wget --content-disposition <?php print($downloadurl . '99999');?>
|
||||
<li> curl -OJ <fturl><?php print($downloadurl . '99999');?><br></fturl>
|
||||
<li> wget --content-disposition <fturl><?php print($downloadurl . '99999');?></fturl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -47,4 +47,4 @@ File transfer was created by <a href="https://twitter.com/AmazingBeu">@AmazingBe
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -42,6 +42,12 @@ function upload_file(file_obj,file_name)
|
||||
divresponse.innerHTML = text ;
|
||||
document.getElementById('copytoclipboard').style.visibility = "visible";
|
||||
|
||||
if (text.startsWith("http")) {
|
||||
var fturl = document.getElementsByTagName("fturl");
|
||||
console.log(fturl);
|
||||
Array.from(fturl).forEach(tag => tag.innerHTML = text);
|
||||
}
|
||||
|
||||
}
|
||||
request();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user