MEDIAFIRE File Transfer
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
MEDIAFIRE File Transfer
I have been experimenting a lot with PureBasic's file-transfer-capabilities.
FTP works fine, HTTP as well.
But how about accessing a MEDIAFIRE-archive for automated download using PB?
I could nowhere find such. Has nobody tried or successfully done this yet?
FTP works fine, HTTP as well.
But how about accessing a MEDIAFIRE-archive for automated download using PB?
I could nowhere find such. Has nobody tried or successfully done this yet?
Re: MEDIAFIRE File Transfer
I never did anything with MediaFire.
But the first hit of googling to "MediaFire API" was https://www.programmableweb.com/api/mediafire
It looks to me like the REST-API is the easiest way.
What Is REST? - http://www.restapitutorial.com/lessons/whatisrest.html
You can use the Representational State Transfer via curl - http://forums.purebasic.com/english/vie ... 13&t=66521
But the first hit of googling to "MediaFire API" was https://www.programmableweb.com/api/mediafire
It looks to me like the REST-API is the easiest way.
What Is REST? - http://www.restapitutorial.com/lessons/whatisrest.html
You can use the Representational State Transfer via curl - http://forums.purebasic.com/english/vie ... 13&t=66521
Please pardon my English, my native tongue is German.
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: MEDIAFIRE File Transfer
My problem with this is that I am absolutely in the dark and your response is nice, but does not help me forward:
API Portal / Home Page
http://developers.mediafire.com/index.php/REST_API
=> gives me a 404 error
Has nobody a working example of how to automatically download a file from Mediafire in Purebasic?
EDiT: I found that page at least in the webarchive in the meantime:
https://web.archive.org/web/20130326104 ... p/REST_API
API Portal / Home Page
http://developers.mediafire.com/index.php/REST_API
=> gives me a 404 error
Has nobody a working example of how to automatically download a file from Mediafire in Purebasic?
EDiT: I found that page at least in the webarchive in the meantime:
https://web.archive.org/web/20130326104 ... p/REST_API
Last edited by StarWarsFan on Mon Jun 08, 2020 1:07 pm, edited 1 time in total.
Re: MEDIAFIRE File Transfer
I think MediaFire will give you a link, so the download looks simple. Look at ReceiveHTTPFile().StarWarsFan wrote:But how about accessing a MEDIAFIRE-archive for automated download using PB?
Upload is another thing. I just ask google, and the result is : Uploads done only with the webinterface of MediaFire. No FTP.
I don't find any "API" to make a request to this site, so this could be either very tricky (try&error method) or impossible.
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: MEDIAFIRE File Transfer
Bisonte,
your response is nice and all - but does not help me:
Already in my initial post I stated that I have tried HTTP-file-transfer and know how to use it.
And that naturally includes also ReceiveHTTPFile().
You must have overread that part. But thanks anyway...
Anyone capable of offering ACTUAL help here?
your response is nice and all - but does not help me:
Already in my initial post I stated that I have tried HTTP-file-transfer and know how to use it.
And that naturally includes also ReceiveHTTPFile().
You must have overread that part. But thanks anyway...
Anyone capable of offering ACTUAL help here?
Re: MEDIAFIRE File Transfer
Do you have mediafire premium account subscription?
If not, then it is probably impossible to do what you want. Free file sharing services earn money by placing ads on their download pages. If there would exist an automated tool for mass downloading for free users then they would earn less money because less people would visit their website and click on ads. That's why they protect every download with captcha. You can't bypass that with automated software downloader.
If not, then it is probably impossible to do what you want. Free file sharing services earn money by placing ads on their download pages. If there would exist an automated tool for mass downloading for free users then they would earn less money because less people would visit their website and click on ads. That's why they protect every download with captcha. You can't bypass that with automated software downloader.
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: MEDIAFIRE File Transfer
Oh please come on, have you switched your brain on before posting please?
What you write there does not help me forward in the matter. Even worse:
It is not only wrong, it is nonsense!
If you think that what you wrote is not nonsense, would you care to explain why
for example WINZIP was elected to be the MEDIAFIRE!-APP!-of the month then?
Link: http://blog.mediafire.com/2015/12/media ... winzip-20/
And have you never used Mediafire Desktop?
I believe you have no clue what you are talking about.
So please now, not everybody post to increase their post-count with remarks that do not get us forward in the matter!
The question is how to implement MEDIAFIRE File Transfers as module for PB. And yes, other applications do that as well WITHOUT premium/pro account.
What you write there does not help me forward in the matter. Even worse:
It is not only wrong, it is nonsense!
If you think that what you wrote is not nonsense, would you care to explain why
for example WINZIP was elected to be the MEDIAFIRE!-APP!-of the month then?
Link: http://blog.mediafire.com/2015/12/media ... winzip-20/
And have you never used Mediafire Desktop?
I believe you have no clue what you are talking about.
So please now, not everybody post to increase their post-count with remarks that do not get us forward in the matter!
The question is how to implement MEDIAFIRE File Transfers as module for PB. And yes, other applications do that as well WITHOUT premium/pro account.
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: MEDIAFIRE File Transfer
Basically I want to do IN PB what these applications already do:
https://www.mediafire.com/developers/apps/
https://www.mediafire.com/developers/apps/
-
- Enthusiast
- Posts: 169
- Joined: Sat Mar 14, 2015 11:53 am
Re: MEDIAFIRE File Transfer
Example WINZIP:
I want my PB Code to connect to Mediafire, send and receive files.
Source: http://www.winzip.com/win/en/wzfeatures-share.htmlConnect to leading cloud services
WinZip connects directly to ZipShare, Box, OneDrive, Dropbox, Google Drive, CloudMe, SugarSync and MediaFire, so you can organize all your cloud files at once. Use WinZip to zip and save large files to the cloud or retrieve files or links to share.
I want my PB Code to connect to Mediafire, send and receive files.
Re: MEDIAFIRE File Transfer
Hey, I understand you're frustrated. Programming can be love and hate. When everything is working, you feel like a king, but when it doesn't work, you feel like But people try to be helpful, so please don't attack when their help doesn't work.StarWarsFan wrote:Oh please come on, have you switched your brain on before posting please? What you write there does not help me forward in the matter. Even worse: It is not only wrong, it is nonsense!
I'm sure Niko Mac Computing, makers of WinZip, probably doesn't have a premium/pro account. But we don't know what the arrangement is. Perhaps Niko Mac paid MediaFire thousands of dollars to use their cloud, or perhaps MediaFire paid Niko Mac thousands of dollars to use them instead of some other cloud. We just don't know.And yes, other applications do that as well WITHOUT premium/pro account.
I don't know the answer, and your question may be specific enough that nobody here knows. Consider looking for Media Fire programming forums, or perhaps contact Media Fire directly.
Re: MEDIAFIRE File Transfer
You said that you want to mass download files, do you want to download them only from your personal account or also from other accounts? I am assuming that you want to do from other accounts and that is not possible without premium account. And if you only want to download or upload files to your personal account then go to official mediafire page for developers where you can find their API explained and how to use it: https://www.mediafire.com/developers/StarWarsFan wrote:Oh please come on, have you switched your brain on before posting please?
What you write there does not help me forward in the matter. Even worse:
It is not only wrong, it is nonsense!
If you think that what you wrote is not nonsense, would you care to explain why
for example WINZIP was elected to be the MEDIAFIRE!-APP!-of the month then?
Link: http://blog.mediafire.com/2015/12/media ... winzip-20/
And have you never used Mediafire Desktop?
I believe you have no clue what you are talking about.
So please now, not everybody post to increase their post-count with remarks that do not get us forward in the matter!
The question is how to implement MEDIAFIRE File Transfers as module for PB. And yes, other applications do that as well WITHOUT premium/pro account.
PB has native functions for parsing XML/JSON and sending HTTP requests. Enough to get you started... At least come back with some code and we will gladly help you with it. If you want someone else to write code from scratch then go find and hire some freelancer.