Bitcoin Forum

Bitcoin => Project Development => Topic started by: IamAGentleman on January 17, 2015, 05:47:58 PM



Title: Free Pay-per download script
Post by: IamAGentleman on January 17, 2015, 05:47:58 PM
Okay, before I start, I made this in like an hour or two. It's very basic, I can't be bothered carrying on with it. I haven't added the check if payment has been sent or made it for that matter as I don't have BTC to test/build. Anyway, use this script as is, I guess it would be okay for the bare bones,

https://github.com/NateCorkish/paytodownload


Title: Re: Free Pay-per download script
Post by: rozee on January 18, 2015, 03:11:17 PM
page not found
error 404 dude


Title: Re: Free Pay-per download script
Post by: IamAGentleman on January 18, 2015, 10:36:19 PM
my bad

https://mega.co.nz/#!jZxTXByY!fCNA-1w8oLrs6F12Gt6bEXekl-P_WevcMpDPpjrbVkg


Title: Re: Free Pay-per download script
Post by: SparkedDev on January 19, 2015, 04:51:08 PM
my bad

https://mega.co.nz/#!jZxTXByY!fCNA-1w8oLrs6F12Gt6bEXekl-P_WevcMpDPpjrbVkg

Uh please reupload this to github so we can look at it before just downloading some random file from mega.


Title: Re: Free Pay-per download script
Post by: IamAGentleman on January 19, 2015, 10:38:10 PM
my bad

https://mega.co.nz/#!jZxTXByY!fCNA-1w8oLrs6F12Gt6bEXekl-P_WevcMpDPpjrbVkg

Uh please reupload this to github so we can look at it before just downloading some random file from mega.

back up


Title: Re: Free Pay-per download script
Post by: countryfree on January 20, 2015, 12:27:32 AM
There's an interesting idea there:

You should be able to limit download speed, so that it takes enough time to check the transaction is confirmed in the blockchain. If the transaction isn't confirmed, the download would just stop.


Title: Re: Free Pay-per download script
Post by: IamAGentleman on January 20, 2015, 12:56:09 AM
There's an interesting idea there:

You should be able to limit download speed, so that it takes enough time to check the transaction is confirmed in the blockchain. If the transaction isn't confirmed, the download would just stop.


Waste bandwidth for no reason :P. Instead they pay and then 1 confirmation they can download ;)


Title: Re: Free Pay-per download script
Post by: countryfree on January 20, 2015, 07:21:54 PM
There's an interesting idea there:

You should be able to limit download speed, so that it takes enough time to check the transaction is confirmed in the blockchain. If the transaction isn't confirmed, the download would just stop.


Waste bandwidth for no reason :P. Instead they pay and then 1 confirmation they can download ;)

There's no waste of bandwidth. Not at all, the size of the data doesn't change. You may say it's a waste of time, but it's not because the customer doesn't have to wait for the first confirmation, the download has already started.


Title: Re: Free Pay-per download script
Post by: IamAGentleman on January 21, 2015, 12:46:05 AM
There's an interesting idea there:

You should be able to limit download speed, so that it takes enough time to check the transaction is confirmed in the blockchain. If the transaction isn't confirmed, the download would just stop.


Waste bandwidth for no reason :P. Instead they pay and then 1 confirmation they can download ;)

There's no waste of bandwidth. Not at all, the size of the data doesn't change. You may say it's a waste of time, but it's not because the customer doesn't have to wait for the first confirmation, the download has already started.

It's not a good idea. But hey, if people want to do it, let them.