Download from web with password

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.5
Usermin version 2.302
Virtualmin version 7.30.8 Pro
Theme version 24.02
Apache version 2.4.52
Package updates All installed packages are up to date

I would like to use the upload/download module to send files between two of my systems. I was able to figure out how to use virtualmin to create a password protected web page displaying a list of the files in the directory.

Is there a way that I can use the upload/download module to send an username and password, so I can use the download from web to transfer files to my virtualmin system from another one. I would like to avoid downloading to my local computer from one vitualmin system and upload it to a second system from my computer but would rather go directly from one virtualmin system to another.

Thanks,
Michael

Yes, this format should work:
http://login:pass@www.website.com

But this has huge security implications. You are leaving your password on every system between your PC and your server which logs metadata.

Thanks for responding. I tried that but it did not work. Perhaps because I am sending all input to the SSL website and these commands will only work correctly on a non SSL website since the website is expecting non-encrypted text.

However it would be nice if the “upload/download” function allow the use of a name and password in a secure manner.

michael

That’s correct. I had specifically put http and not https in the example for that reason.

You could use the command line (even from within Virtualmin’s shell interface) to do secure file transfers in various ways.

rsync is a very useful tool to learn for copying and moving files around.

2 Likes

Cluster has copy files, maybe that what you are after, I’ve never used it.

Transferring files between two or more systems is probably best handled with rsync over ssh, using key-based authentication.

2 Likes

hey Michael, there is GUI app that you can run from terminal, if you don’t like great rsync for any reason. Its dual panel file manager which you can run on source server in terminal and from app you connect to destination server via ssh just like you would with filezilla.

Apps name is Midnight Commander and you can install it on any distro just like rsync (apt install mc)

Panels works like local disk > local disk or local disk > remote and you can use mouse with it. This way you can save / avoid downloading locally, just upload directly to remote destination.

screenshot

2 Likes

I checked the topic Yesterday and didn’t realise. But their might be a more beginner friendly solution.

Most of hosting provider offer a VNC connection with their Server/VPS.

  1. So you can directly connect to the first server through VNC

  2. From there you will get the desktop of your VPS

  3. Open a navigator (In the server, through VNC), if no navigator is present, install one.

  4. When open, go to the Virtualmin panel on the site where you want to upload your files ( YourSecondSite.com:10000 ) and Log in

  5. Finally, simply upload everything you want from the First server to the second.

It might be easier for beginners

1 Like

I always install mc on my servers, but rsync is so much faster if there are a lot and/or large files.