You are not logged in.

#1 2012-12-04 14:26:04

zann
Member
Registered: 2012-05-02
Posts: 23

[SOLVED]Simple file transfer between different os'es

Hi
I'm searching for some kind of simple file transfer between different computers/os (mainly arch and windows) on local net, without I have to set up any samba/ftp server etc. It would be perfect if i could select a file I want to transfer and then be able to receive it on a different computer.
So far I've tried giver but I most of the times they can't find each other.

Any know how I could archive something like the a bow?

Thanks

Last edited by zann (2012-12-07 01:43:44)

Offline

#2 2012-12-04 14:58:46

xpixelz
Member
From: Tunisia
Registered: 2012-02-29
Posts: 47
Website

Re: [SOLVED]Simple file transfer between different os'es

Try using simple file sharing through http server 'oneliner's.

- Note your host IP (which I refer to by "ip.of.your.server"),
- Go under your directory where you want to share files and fire a command line :

Using python : python2 -m SimpleHTTPServer 8000
And you can access your files on the network using http://ip.of.your.server:8000/

Using php : php -S localhost:8080 -t webrootpath/
Files under webrootpath/ will be accessible from http://ip.of.your.server:8888/

Using mongoose : mongoose -r . -p 8888
Files will be accessible from http://ip.of.your.server:8888/
You may restrict access, ie.:  -l -0.0.0.0/0,+10.60.100.105
And have access/error logging (à la apache) too : -a access_log.txt -e error_log.txt

NB.: You may install python or php under windows but mongoose is the easiest thing when it comes to windows -> linux.

Last edited by xpixelz (2012-12-04 15:01:40)

Offline

#3 2012-12-04 15:05:41

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED]Simple file transfer between different os'es

Tried http://code.google.com/p/transfer-on-lan/ a while ago which is related but independent of "giver" ... it's kinda cool BUT! I find it much simpler (and saner) to set up a network share... You could always just sync a Google Drive / Dropbox [very long list of file hosting services here] account?

Offline

#4 2012-12-04 17:31:54

zann
Member
Registered: 2012-05-02
Posts: 23

Re: [SOLVED]Simple file transfer between different os'es

xpixelz:
If possibly I would avoid setting up any kind of server software.

satanselbow:
Transfer on lan seems like what I'm after. I'll try it out when I have a little more time.
Google Drive/Dropbox is of course an option, but have to wait to upload to the service and then have it downloaded again probably take too much time.

Offline

#5 2012-12-04 17:34:48

xpixelz
Member
From: Tunisia
Registered: 2012-02-29
Posts: 47
Website

Re: [SOLVED]Simple file transfer between different os'es

mongoose needs no setup, it's just one .exe ready to use under windows and installing it under archlinux is no hassle and you have access to a simple command line yet easy and powerful sharing/web feature.

Find mongoose @ http://code.google.com/p/mongoose/

Offline

#6 2012-12-07 01:44:19

zann
Member
Registered: 2012-05-02
Posts: 23

Re: [SOLVED]Simple file transfer between different os'es

Transfer on lan works perfect

Offline

#7 2012-12-07 02:00:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Simple file transfer between different os'es

@xpixelz, wow I never knew I could do that!  That is f*cking awesome!!!

Offline

#8 2012-12-07 02:26:12

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED]Simple file transfer between different os'es

This is exactly the purpose of quickserve. big_smile
Basic file sharing is dead simple:

quickserve /path/to/file

You can use the options to enable file uploads, set http usernames and passwords, use https if you like, etc.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#9 2012-12-09 06:48:19

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [SOLVED]Simple file transfer between different os'es

Xyne wrote:

This is exactly the purpose of quickserve. big_smile
Basic file sharing is dead simple:

quickserve /path/to/file

You can use the options to enable file uploads, set http usernames and passwords, use https if you like, etc.

Hay !, this is really nice. I work a LOT, with other people on routers and suff. We always need to be transfering files and configs around on our LAN while working. (a surprising number of network guys use Windows) Sure we know ways to do it, but they are all kind of a pain.

We have fallen into using SneakerNet, but now This is the way to go! I can just bring it up.... few hr's go by, and Ctrl+c.

Last edited by hunterthomson (2012-12-09 06:53:48)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#10 2012-12-09 07:15:37

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED]Simple file transfer between different os'es

hunterthomson wrote:

Hay !, this is really nice. I work a LOT, with other people on routers and suff. We always need to be transfering files and configs around on our LAN while working. (a surprising number of network guys use Windows) Sure we know ways to do it, but they are all kind of a pain.

We have fallen into using SneakerNet, but now This is the way to go! I can just bring it up.... few hr's go by, and Ctrl+c.

Thanks for the feedback. It's nice to know when other people find my code useful.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#11 2012-12-09 10:30:58

CTheGreatDevaluation
Member
Registered: 2012-09-03
Posts: 21

Re: [SOLVED]Simple file transfer between different os'es

Xyne wrote:

This is exactly the purpose of quickserve. big_smile
Basic file sharing is dead simple:

quickserve /path/to/file

You can use the options to enable file uploads, set http usernames and passwords, use https if you like, etc.


Wow, what a smart tool, really great for setting up a fast transfer...very impressive!

Offline

#12 2013-01-08 13:46:30

zann
Member
Registered: 2012-05-02
Posts: 23

Re: [SOLVED]Simple file transfer between different os'es

I put up an aur package for those who is intrested.
https://aur.archlinux.org/packages/transfer-on-lan/

Offline

Board footer

Powered by FluxBB