It is currently Mon Jul 06, 2020 6:48 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
PostPosted: Sat Jun 27, 2020 10:53 am 
Offline
Addict
Addict
User avatar

Joined: Tue Oct 09, 2007 2:15 am
Posts: 1127
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.

_________________
PureBasic 5.72 LTS (Windows x86/x64) | Windows10 Pro x64 | Z370 Extreme4 | i7 8770k | 32GB RAM | iChill GeForce RTX 2080 Super | HAF XF Evo​​
English is not my native language... (I often use DeepL to translate my texts.)


Top
 Profile  
Reply with quote  
 Post subject: Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
PostPosted: Sat Jun 27, 2020 11:01 am 
Offline
Addict
Addict

Joined: Sun Sep 07, 2008 12:45 pm
Posts: 4793
Location: Germany
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
PostPosted: Mon Jun 29, 2020 9:43 pm 
Offline
User
User

Joined: Sat Mar 14, 2015 11:53 am
Posts: 74
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?

_________________
There's usually a lot of "try this, do that" but ONLY an example source that one can test for themself and get an immediate result brings people forward.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
PostPosted: Tue Jun 30, 2020 10:08 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jun 22, 2003 7:43 pm
Posts: 550
Location: Germany, Saarbrücken
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.

_________________
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
PostPosted: Fri Jul 03, 2020 9:12 am 
Offline
User
User

Joined: Sat Mar 14, 2015 11:53 am
Posts: 74
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.
Yes. That is what I am learning. The hard way, because there are so few working examples apparently.
If you got some links on "Purebasic & Webrequests" that contain working code examples, let me know.

NicTheQuick 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.
That is hard to find. As of current, I have no code examples at all - which makes it so difficult for someone
like me who has never done it, but wants to learn it.

I also offered to pay money to infratec. Not shy about that.

_________________
There's usually a lot of "try this, do that" but ONLY an example source that one can test for themself and get an immediate result brings people forward.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to UPLOAD a file to MEDIAFIRE.com using PB code?
PostPosted: Fri Jul 03, 2020 9:34 am 
Offline
Addict
Addict

Joined: Sun Sep 07, 2008 12:45 pm
Posts: 4793
Location: Germany
I don't want money :wink:

I don't have the time and it is not useful for me.
So I'm not interested.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: davido, Demivec, oreopa and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye