1

I'm trying to share files quickly between 2 of my Ubuntu PCs (on the same network). So instead of doing scp everytime, I installed webfsd (lighter than apache) on both computers. Whenever I need to transfer a file, I just open that folder and run webfsd -p 8080 on one computer and on other computer open link (192.168.x.x) from browser and download whatever files I need from that location.

Now, I want to make this system somewhat more efficient. So I want to do it with webfsd installed only on 1 computer (say A). So when I need to transfer files from A to B, I would run that command from the specific folder and happily download the files from B. Now how can I transfer files from B to A without using running webfsd on B? What I want is just some upload interface that I can access from the browser (say by typing 192.168.x.x/upload.html). Is that possible without running php on host machine (A)? Is it possible with a simple Bash script?

1 Answer 1

1

Html is just a passive document and will not change anything on the server. So the answer is: No.

More details: Simple HTML upload form Without PHP

2
  • Can we use shell script to handle the upload instead of php? Sep 24, 2018 at 3:10
  • No. Webfs is for purely static content.
    – Boba Fit
    Sep 26, 2018 at 8:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .