Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?
@  agyat : (18 April 2013 - 11:10 AM) false feelings.

Replying to P2p On Web Host


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

justme

Posted 21 August 2006 - 02:21 PM

i'll do at linux but can you please help me step by step?

yordan

Posted 21 August 2006 - 01:07 PM

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.

justme

Posted 21 August 2006 - 05:27 AM

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

WeaponX

Posted 21 August 2006 - 12:30 AM

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.

justme

Posted 19 August 2006 - 07:27 PM

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

yordan

Posted 19 August 2006 - 04:39 PM

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.

justme

Posted 16 August 2006 - 08:18 PM

thank you
but can we do it with "cron job" ?
i mean cron job do this for long time :D

Hercco

Posted 16 August 2006 - 07:59 PM

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, :D not possible because system calls are rarely allowed.

justme

Posted 16 August 2006 - 01:37 PM

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

Review the complete topic (launches new window)