mediafire

Mediafire developer doesn't show me Create new app

不羁的心 提交于 2019-12-24 01:00:05
问题 I have placed a ticket to mediafire tech support (twice) without answer: I have created two different accounts, totally different info, one free and one Pro (pay). None of them show me the Create new application box in My account->settings->developer. The emails I have used are verified...any clues? Thx 回答1: Ok, they are not giving API keys anymore: "Currently we are not offering the API key option. We may offer it again in the future but at this time it has been disabled." Wasn't better if

Download a file from MediaFire with Java

风格不统一 提交于 2019-12-22 01:00:56
问题 As we all know, or might know, MediaFire does not allow direct download links, but you actually have to click the Download button to generate a random link that refers to the file. Is there a way to fetch that link and download it? 回答1: In despair of writing an auto-updating application, I have written a short Java application which allows the download of files from MediaFire. Here is the full code: import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io

How to completely delete file on MediaFire

情到浓时终转凉″ 提交于 2019-12-13 00:43:17
问题 Is there a way to delete file directly, bypassing Trash folder, using Mediafire API? When I try to delete file, I call the method http://www.mediafire.com/api/file/delete.php, which moves file in the Trash. It seems this folder can be purged only through Browser. Does API offer a way to clean the Trash folder? 回答1: You should always look for their documentation, as this answer was extracted from there: Purge Description : Permanently delete a user's file. Required Parameters: session_token :

MediaFire Rest API session signature SHA1?

♀尐吖头ヾ 提交于 2019-12-11 01:55:49
问题 I'm trying to connect to MediaFire using their API. According to the documen the get_session_token request one of the required parameters is: signature : a SHA1-hashed string that contains the following 4 elements in this sequence: email + password + application_id + API Key. For example, email: testemail@domain.com, password: 111111, application_id: 9999, and API key: abcdefghijklmnopqrst, then signature should be calculated as follows: SHA1('testemail@domain

Download a file from MediaFire with Java

泪湿孤枕 提交于 2019-12-04 20:50:15
As we all know, or might know, MediaFire does not allow direct download links, but you actually have to click the Download button to generate a random link that refers to the file. Is there a way to fetch that link and download it? In despair of writing an auto-updating application, I have written a short Java application which allows the download of files from MediaFire. Here is the full code: import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net

How to add header data in XMLHttpRequest when using formdata?

 ̄綄美尐妖づ 提交于 2019-11-28 20:46:36
问题 I'm trying to implement a file upload API, given here : Mediafire file Upload I am successfully able to upload the Post data & Get data , but have no clue how to send the x-filename attribute, which is meant to be Header data as given in API guide. My Code : xmlhttp=new XMLHttpRequest(); var formData = new FormData(); formData.append("Filedata", document.getElementById("myFile").files[0]); var photoId = getCookie("user"); // formData.append("x-filename", photoId); //tried this but doesn't