|
|
|
|
![]() ![]() |
Aug 16 2006, 01:37 PM
Post
#1
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 14-August 06 Member No.: 15,204 |
maybe it seems fooly:
is there any script to establish a p2p ( p2h i mean script act for example as edonkey or torrent program and then we download files from our host ! |
|
|
|
Aug 16 2006, 07:59 PM
Post
#2
|
|
|
Super Member Group: Members Posts: 595 Joined: 4-September 04 Member No.: 228 |
Well not on a webhost, if you mean a webhost like astahost.
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, |
|
|
|
Aug 16 2006, 08:18 PM
Post
#3
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 14-August 06 Member No.: 15,204 |
thank you
but can we do it with "cron job" ? i mean cron job do this for long time |
|
|
|
Aug 19 2006, 04:39 PM
Post
#4
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,183 Joined: 16-August 05 Member No.: 7,896 myCENTs:READY[102.28] |
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. |
|
|
|
Aug 19 2006, 07:27 PM
Post
#5
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 14-August 06 Member No.: 15,204 |
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 |
|
|
|
Aug 21 2006, 12:30 AM
Post
#6
|
|
|
Way Out Of Control - You need a life :) Group: Members Posts: 1,086 Joined: 21-June 05 From: New York Member No.: 6,440 myCENTs:86.41 |
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. |
|
|
|
Aug 21 2006, 05:27 AM
Post
#7
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 14-August 06 Member No.: 15,204 |
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 |
|
|
|
Aug 21 2006, 01:07 PM
Post
#8
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,183 Joined: 16-August 05 Member No.: 7,896 myCENTs:READY[102.28] |
QUOTE 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. |
|
|
|
Aug 21 2006, 02:21 PM
Post
#9
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 14-August 06 Member No.: 15,204 |
i'll do at linux but can you please help me step by step?
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 20th November 2008 - 10:39 AM |