diff --git a/front.php b/front.php index 87fb7df..38e98c7 100644 --- a/front.php +++ b/front.php @@ -37,8 +37,8 @@ To upload file (max ):
  • wget -q --body-file='./my_file' --method=PUT -O -

    To download file :
    -
  • curl -OJ
    -
  • wget --content-disposition +
  • curl -OJ
    +
  • wget --content-disposition @@ -47,4 +47,4 @@ File transfer was created by @AmazingBe - \ No newline at end of file + diff --git a/script.js b/script.js index 56fcfdb..5d70886 100644 --- a/script.js +++ b/script.js @@ -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();