emesene forum
March 13, 2010, 07:44:01 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: REPORT ANY ISSUE HERE - PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
 
  Home   Forum   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Send big files by bittorrent (send only .torrent file)  (Read 2345 times)
fabioamd87
Hero Member
*****

l33tness: 0
Offline Offline

Posts: 428



View Profile Email
« on: August 20, 2008, 12:01:59 PM »

i've discovered that with this publick tracker: http://www.mininova.org/upload
and with a bittorrent program, is really easy to create a torrent of any of our files!

is possible a plugin that accept in imput the file, create the torrent by using that tracker and send the .torrent file?
Logged
Dainaccio
Full Member
***

l33tness: 2
Offline Offline

Posts: 20



View Profile WWW
« Reply #1 on: August 21, 2008, 09:21:59 AM »

BT is usefull for "high level of spread" files. Many uploaders to many downloaders.

I can't get the benefits of a 1 to 1 BT file transfer.
Please open my mind.
Logged

Fatti non foste a viver come bruti...
fabioamd87
Hero Member
*****

l33tness: 0
Offline Offline

Posts: 428



View Profile Email
« Reply #2 on: August 21, 2008, 12:46:46 PM »

ehm... emesene send at 2,5 max 3 Kb/s Bittorrent sent at the maximum of you internet connection...
Logged
Dainaccio
Full Member
***

l33tness: 2
Offline Offline

Posts: 20



View Profile WWW
« Reply #3 on: August 22, 2008, 12:16:50 PM »

Logged

Fatti non foste a viver come bruti...
koolfy
Newbie
*

l33tness: 0
Offline Offline

Posts: 2


$ I'll be bash.

333216859
View Profile Email
« Reply #4 on: August 23, 2008, 06:33:00 AM »

Just RTFM, don't you even know what torrent protocol IS ?
Logged

$ I'll be bash.
$ sudo -s
# I'm bash.

   ©Terministrator.
iAgree
Full Member
***

l33tness: 5
Offline Offline

Posts: 36


View Profile
« Reply #5 on: August 23, 2008, 09:31:24 AM »

I think a better solution would be a plugin that acts like a web server and temporarily shares the file, while it sends the link to you contact. (which would be something like this : http://<your.ip.address.here>:<someport>/filename.ext )

Anyway, even better would be to have the file transfers feature fully functional, at top speed. Of course, this can only be done by someone who knows the MSN protocol (I don't)
Logged

freedom of choise.~
Respawner
Full Member
***

l33tness: 1
Offline Offline

Posts: 42


Ubuntu 9.04 user

respawneral@gmail.com
View Profile WWW Email
« Reply #6 on: August 23, 2008, 12:45:10 PM »

i've discovered that with this publick tracker: http://www.mininova.org/upload
and with a bittorrent program, is really easy to create a torrent of any of our files!

is possible a plugin that accept in imput the file, create the torrent by using that tracker and send the .torrent file?
I was thinking about the same thing some days ago.
I have found this link which can be usefull
http://code.activestate.com/recipes/440555/
Logged
boyska
Hero Member
*****

l33tness: 13
Offline Offline

Posts: 300


winston89@fastwebnet.it
View Profile
« Reply #7 on: August 24, 2008, 02:38:54 AM »

using the torrent protocol just for this is a VERY bloated solution.
If you want a quick solution to easily send files at high speed, you should use a small webserver and move the files in its "root" folder. I often use this method and I have to say it's very fast. The only boring thing is catching our IP from www.whatismyip.org, paste it, and add the file path; so we could do a plugin that move a file in a certain folder, get the full URL to that file and send it as a msg. It shouldn't be difficult. If I have nothing to do this afternoon, I'll try it.
(If you are thinking "why don't embed the web server in the plugin, you're probably right, but I'm very lazy. Anyway, if you know a very simple webserver in python, I could try it, too)
Logged
Respawner
Full Member
***

l33tness: 1
Offline Offline

Posts: 42


Ubuntu 9.04 user

respawneral@gmail.com
View Profile WWW Email
« Reply #8 on: August 24, 2008, 04:56:46 AM »

A little HTTP server can be a good idea to send files. I'm not very good in Python (I'm better in Java and C) I've just seen that there is an HTTPServer class included in the Python Library.
Logged
boyska
Hero Member
*****

l33tness: 13
Offline Offline

Posts: 300


winston89@fastwebnet.it
View Profile
« Reply #9 on: August 24, 2008, 05:03:09 AM »

that's what I'm doing right now  Cool
Doing a simple HTTPServer is easier than I thought, wow! now I have to do some tests, then I'll start developing the plugin interface Wink
Logged
boyska
Hero Member
*****

l33tness: 13
Offline Offline

Posts: 300


winston89@fastwebnet.it
View Profile
« Reply #10 on: August 24, 2008, 06:45:04 AM »

OK, the plugin is starting to take shape: atm it *works* (runs a server and can send files, but only through slash commands).
What I'll do is a configuration window (mainly for the port to use), a button on the conversation toolbar and some bugfixing needed (if you stop the plugin you can't restart it, atm).

I hope to release it today
Logged
Respawner
Full Member
***

l33tness: 1
Offline Offline

Posts: 42


Ubuntu 9.04 user

respawneral@gmail.com
View Profile WWW Email
« Reply #11 on: August 24, 2008, 08:34:42 AM »

Nice Smiley continue your great job.
Logged
fabioamd87
Hero Member
*****

l33tness: 0
Offline Offline

Posts: 428



View Profile Email
« Reply #12 on: August 24, 2008, 08:40:28 AM »

don't forget that with torrent we have the "resume" option
Logged
boyska
Hero Member
*****

l33tness: 13
Offline Offline

Posts: 300


winston89@fastwebnet.it
View Profile
« Reply #13 on: August 24, 2008, 08:56:38 AM »

don't forget that with torrent we have the "resume" option
even with a webserver Smiley (well, actually I have to check if BaseHTTPServer supports resume, or use a better server if it can't, anyway it shouldn't be difficult to do)
plus, everyone can click on a link, while not everyone has bittorrent! of course bittorrent has some other nice features, but I won't develop that because I don't find it so useful. (if you want to do a torrent to share it among your friends, you can do it without a plugin in about 30seconds, and it doesn't happen so often).

@fabioamd87: you have often proposal and new ideas, I appreciate it very much! what about starting coding? I think you'll be very productive and will realize your ideas. If you want, I can give you help.
Logged
boyska
Hero Member
*****

l33tness: 13
Offline Offline

Posts: 300


winston89@fastwebnet.it
View Profile
« Reply #14 on: August 24, 2008, 12:33:46 PM »

ok, a first draft is working. It's still missing a config dialog and the "id system" is not exactly perfect (I'll explain it later, this is not a priority)
ATM it does:
* open a server on the port 6080 (yes, it's hardcoded)
* add a button to the toolbar to send files (called websend)
* has a /websend command
* when you send a file, send a link in conversation

I'll commit in svn when it's ready
Logged
Pages: [1] 2
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!