Jump to content
xisto Community
m107

P2p On Web Host establish a p2p ( p2h :P ) network on a webhost

Recommended Posts

maybe it seems fooly:is there any script to establish a p2p ( p2h ;) ) network on a webhost?i mean script act for example as edonkey or torrent program and then we download files from our host ! :D

Share this post


Link to post
Share on other sites

Well not on a webhost, if you mean a webhost like Xisto. If you have a remote access (like SSH) to a server you could use screen to keep any program running. Just screen command line eDonkey or a torrent client and leave it downloading and the fetch the files later. But for a normal webhost... Basically I think what you mean is have a script executed though the webserver interface (accessing it with a browser) and then download the finished files with FTP or through www. That wouldn't be possible because webservers simply won't allow a script to execute that long. Technically you could have a script executing a system call and opening for exaple a torrent client but that would a) most likely be against the terms of service, :D not possible because system calls are rarely allowed.

Share this post


Link to post
Share on other sites

You will not have access to cron on most of webservers.If you simply want to put your own files on your webhost, or get files (for backup purposes) from your host, you can simply use Filezilla. Filezillla will try downloading simultanously five files at the same moment, making the download as fast as your local PC has can go, only limited by your host bandwidth limitations. Of course, most of hosting accounts have quotas, so if you do it too often you will very soon exhaust your bandwith and disk space limitations.

Share this post


Link to post
Share on other sites

You will not have access to cron on most of webservers.If you simply want to put your own files on your webhost, or get files (for backup purposes) from your host, you can simply use Filezilla. Filezillla will try downloading simultanously five files at the same moment, making the download as fast as your local PC has can go, only limited by your host bandwidth limitations. Of course, most of hosting accounts have quotas, so if you do it too often you will very soon exhaust your bandwith and disk space limitations.


thank you friend
can you please send me that script?
i can buy host with unlimited bandwidth then there is no problem :D

Share this post


Link to post
Share on other sites

I hope I understand your question correctly. Basically what you want to do is let others download the files from your webhost right? Why not just upload it straight to the server and post a link to it for others to download? Careful what you upload though...if it's anything illegal your webhost has the right to take it down and even terminate your hosting account with them.You can do this locally on your computer using BitTorrent...not sure if it's possible to do this on a webhost server. You just need to create a .torrent file and give that out to those you want to share the files with. Then open your BitTorrent program and let it run so others can download off from you.

Share this post


Link to post
Share on other sites

I hope I understand your question correctly. Basically what you want to do is let others download the files from your webhost right? Why not just upload it straight to the server and post a link to it for others to download? Careful what you upload though...if it's anything illegal your webhost has the right to take it down and even terminate your hosting account with them.
You can do this locally on your computer using BitTorrent...not sure if it's possible to do this on a webhost server. You just need to create a .torrent file and give that out to those you want to share the files with. Then open your BitTorrent program and let it run so others can download off from you.


no
i want use a script on my host that works like bittorent on a pc ;)
and that script download files on my host then i download it to my pc :D

Share this post


Link to post
Share on other sites

want use a script on my host that works like bittorent on a pc and that script download files on my host then i download it to my pc

OK, "like bittorrent" probably not, but...
What is the OS behind your web server ?
- Linux ?
- Unix ?
- Crosoft ?
Because, if it's a Unix system or a Linux system, you can have a ssh or a telnet access (or even a rsh access if it's your system and if you trust yourself).
Then, if you have a ssh access, you can use ftp from the command line in order to download to your host. Once your ftp command line works, you can automate it in a shell-script (have a look at the ftp for Unix manuals, the syntax of the ftp shell-script is exactly the same as for the command-line ftp, it's get or put or mget or mput. Simply you have to put the remote sitename, usename and password in a hidden file.
Then, once you tested your shell-script, you can fire it from a ssh window, or from a rsh, or periodically from a crontab.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.