https://www.mediafire.com/developers/core_api/1.5/
this is the official reachable API site of mediafire...
Here you have to read ...
Use the HTTP - Library of PB to get results.
How to UPLOAD a file to MEDIAFIRE.com using PB code?
Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
If you want to upload to a 'given link' (it is not your account), than it is difficult, as I told you already.
Since it takes to long (of my) time, I'm not willing to do it for you.
It is not easy, because if you really want that drop code, you have to emulate a lot things and do tricky stuff.
If it is your account, you can provide the webupload link, or you can use the API.
But that I have written already.
Since it takes to long (of my) time, I'm not willing to do it for you.
It is not easy, because if you really want that drop code, you have to emulate a lot things and do tricky stuff.
If it is your account, you can provide the webupload link, or you can use the API.
But that I have written already.
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
That is what I am at hardest trying to explain.
I need to go THAT way, not any other way.
The account is not mine. And yet I need a way to upload to that filedrop. Not maybe this, maybe that, not anything else. JUST THAT.
Okay, I see where your problem is. You obviously want money to do it, infratec. How much money do you want, so you can do it then?
I need to go THAT way, not any other way.
The account is not mine. And yet I need a way to upload to that filedrop. Not maybe this, maybe that, not anything else. JUST THAT.
Okay, I see where your problem is. You obviously want money to do it, infratec. How much money do you want, so you can do it then?
- NicTheQuick
- Addict
- Posts: 1227
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
If you want to use their API you have to register as a developer and then get an app token for your specific application. If you want to emulate what a browser does you need to emulate that too. There is Javascript involved, specific HTTP headers to send and receive, cookies and more. That's no easy task to do, especially with the restricted possibilities of Purebasic.
If you are not familiar with web requests at all you will probably need some weeks to learn it properly and then use that knowledge for mediafire. It may would be a bit easier if there is already code in an other programming language available what can do what you need. Then you could use that to convert it to Purebasic.
If you are not familiar with web requests at all you will probably need some weeks to learn it properly and then use that knowledge for mediafire. It may would be a bit easier if there is already code in an other programming language available what can do what you need. Then you could use that to convert it to Purebasic.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
Yes. That is what I am learning. The hard way, because there are so few working examples apparently.NicTheQuick wrote:If you are not familiar with web requests at all you will probably need some weeks to learn it properly and then use that knowledge for mediafire.
If you got some links on "Purebasic & Webrequests" that contain working code examples, let me know.
That is hard to find. As of current, I have no code examples at all - which makes it so difficult for someoneNicTheQuick wrote:It may would be a bit easier if there is already code in an other programming language available what can do what you need. Then you could use that to convert it to Purebasic.
like me who has never done it, but wants to learn it.
I also offered to pay money to infratec. Not shy about that.
Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
I don't want money
I don't have the time and it is not useful for me.
So I'm not interested.
I don't have the time and it is not useful for me.
So I'm not interested.