Results 1 to 2 of 2

Thread: How to upload files to home server via email?

  1. #1
    Join Date
    May 2012
    Beans
    9

    Question How to upload files to home server via email?

    Hello, I have a LAMP stack set up on xubuntu. I have it used as a fileserver, but, to upload files, I either have the option to go to /var/www/files, or put files on my shared folder (SAMBA?) in my local network.
    What I want to so is upload files to my server via email (example@my-public-ip.co.uk?), and possibly implement a password, so I would send an email to example@my-public-ip.co.uk, with the password.

    PS Could I also set up a password on the server itself, like when I enter my public ip, a proompt window would launch, asking for a password?

    PPS ifconfig returns something about
    Code:
    loopback
    and
    Code:
    lo
    interfaces. I would have thought that I would have a static IP, or DHCP. Does Ubuntu Server use static IPs?

  2. #2
    Join Date
    Sep 2006
    Beans
    8,623
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to upload files to home server via email?

    It would be faster, safer, more efficient and easier to use just about anything else except for e-mail to transfer files. e-mail is just not an adequate surrogate for a file system, it's also insecure.

    Two variations of the SSH theme would be SFTP or SSHFS. Either one would be easy to set up and very secure. Why not use those. Have your router forward a port to your machine and set sshd to listen at that port and you're set.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •