0

Can we get file information such as filesize, path of a file(even a large one) without actually uploading it onto the server using scala? PS. I know it can be done using Javascript, but I am searching for another way.

3
  • 1
    Possible duplicate of getting file size in javascript Commented Jan 10, 2019 at 13:42
  • 1
    Can you help us by explaining how you will identify the file that you are interested in? Do you have a URL, or some other identifier? Commented Jan 10, 2019 at 14:05
  • You definitely need to specify in what context you expect the code to be executed and where the file is located. If it is in the browser, it has to be JavaScript although you can use Scala.JS to cross-compile Scala into JS. Commented Jan 10, 2019 at 16:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.