Simple sharing file/folder to my friend

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Sometimes there is a big file you want to send to your friend, or he wants to download from you. Like movie, archive or program.
Is there any simple, command-line, unix program that is simple as

$ share someData.tar.gz
Sharing...
192.168.1.123 is downloading file
Done!

while the other person can download like:

$ wget <myIp>
Connecting to <myIp>
Donwloading someData.tar.gz...
Done!

I don't want to give access to my whole PC via SSH, SCP or SFTP.
I don't want to play with groups and permissions.
Or maybe is there any way to open SFTP server just to one file/folder ?
If there isn't such program I will write it on my own, but I don't want to write something that is already written.










share|improve this question





















  • what about apache webserver? if you want to share files you could make them available in the www/ folder. the person you want could download it via get. You could resrtict access with .htaccess in case you want that
    – AlexOnLinux
    Mar 8 at 12:49














up vote
0
down vote

favorite












Sometimes there is a big file you want to send to your friend, or he wants to download from you. Like movie, archive or program.
Is there any simple, command-line, unix program that is simple as

$ share someData.tar.gz
Sharing...
192.168.1.123 is downloading file
Done!

while the other person can download like:

$ wget <myIp>
Connecting to <myIp>
Donwloading someData.tar.gz...
Done!

I don't want to give access to my whole PC via SSH, SCP or SFTP.
I don't want to play with groups and permissions.
Or maybe is there any way to open SFTP server just to one file/folder ?
If there isn't such program I will write it on my own, but I don't want to write something that is already written.










share|improve this question





















  • what about apache webserver? if you want to share files you could make them available in the www/ folder. the person you want could download it via get. You could resrtict access with .htaccess in case you want that
    – AlexOnLinux
    Mar 8 at 12:49












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Sometimes there is a big file you want to send to your friend, or he wants to download from you. Like movie, archive or program.
Is there any simple, command-line, unix program that is simple as

$ share someData.tar.gz
Sharing...
192.168.1.123 is downloading file
Done!

while the other person can download like:

$ wget <myIp>
Connecting to <myIp>
Donwloading someData.tar.gz...
Done!

I don't want to give access to my whole PC via SSH, SCP or SFTP.
I don't want to play with groups and permissions.
Or maybe is there any way to open SFTP server just to one file/folder ?
If there isn't such program I will write it on my own, but I don't want to write something that is already written.










share|improve this question













Sometimes there is a big file you want to send to your friend, or he wants to download from you. Like movie, archive or program.
Is there any simple, command-line, unix program that is simple as

$ share someData.tar.gz
Sharing...
192.168.1.123 is downloading file
Done!

while the other person can download like:

$ wget <myIp>
Connecting to <myIp>
Donwloading someData.tar.gz...
Done!

I don't want to give access to my whole PC via SSH, SCP or SFTP.
I don't want to play with groups and permissions.
Or maybe is there any way to open SFTP server just to one file/folder ?
If there isn't such program I will write it on my own, but I don't want to write something that is already written.







server permissions ssh samba sftp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 9:48









Stachu Barański

1




1











  • what about apache webserver? if you want to share files you could make them available in the www/ folder. the person you want could download it via get. You could resrtict access with .htaccess in case you want that
    – AlexOnLinux
    Mar 8 at 12:49
















  • what about apache webserver? if you want to share files you could make them available in the www/ folder. the person you want could download it via get. You could resrtict access with .htaccess in case you want that
    – AlexOnLinux
    Mar 8 at 12:49















what about apache webserver? if you want to share files you could make them available in the www/ folder. the person you want could download it via get. You could resrtict access with .htaccess in case you want that
– AlexOnLinux
Mar 8 at 12:49




what about apache webserver? if you want to share files you could make them available in the www/ folder. the person you want could download it via get. You could resrtict access with .htaccess in case you want that
– AlexOnLinux
Mar 8 at 12:49










1 Answer
1






active

oldest

votes

















up vote
0
down vote













python -m SimpleHTTPServer
seems to be something I was looking for :)






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013012%2fsimple-sharing-file-folder-to-my-friend%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    python -m SimpleHTTPServer
    seems to be something I was looking for :)






    share|improve this answer
























      up vote
      0
      down vote













      python -m SimpleHTTPServer
      seems to be something I was looking for :)






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        python -m SimpleHTTPServer
        seems to be something I was looking for :)






        share|improve this answer












        python -m SimpleHTTPServer
        seems to be something I was looking for :)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 at 22:41









        Stachu Barański

        1




        1



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013012%2fsimple-sharing-file-folder-to-my-friend%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491