Simple sharing file/folder to my friend
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.
server permissions ssh samba sftp
add a comment |Â
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.
server permissions ssh samba sftp
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 viaget
. You could resrtict access with.htaccess
in case you want that
â AlexOnLinux
Mar 8 at 12:49
add a comment |Â
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.
server permissions ssh samba sftp
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
server permissions ssh samba sftp
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 viaget
. You could resrtict access with.htaccess
in case you want that
â AlexOnLinux
Mar 8 at 12:49
add a comment |Â
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 viaget
. 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
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
python -m SimpleHTTPServer
seems to be something I was looking for :)
add a comment |Â
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 :)
add a comment |Â
up vote
0
down vote
python -m SimpleHTTPServer
seems to be something I was looking for :)
add a comment |Â
up vote
0
down vote
up vote
0
down vote
python -m SimpleHTTPServer
seems to be something I was looking for :)
python -m SimpleHTTPServer
seems to be something I was looking for :)
answered Mar 8 at 22:41
Stachu Baraà Âski
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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