FileUploader
Automate Anonymous File Uploads and Downloads
Overview
FileUploader is a Python script that simplifies the process of uploading files to various file-hosting services, including Anonfiles, Bayfiles (Deprecated), and GoFile. This script streamlines the file upload process and provides you with direct download links, making it convenient for sharing files.
**Note: Anonfiles and Bayfiles are Deprecated. Please consider using the GoFile option for a more reliable service.**
Usage
FileUploader
All in One file uploaders at one.
Windows
##### Installation
You can install executing fileuplaoder_setup.exe and follow the steps.
Usage
**Python File**
```shell
python3 fileUploader.py
```
**Exe File**
```shell
start fileUploader.exe
```
**Right Click to File**
![Adjuntar Imagen](imagen de asdasdadas en contexto de menu de archivo)
Linux
##### Installation
You can install executing fileuplaoder_setup.sh.
Permissions
**Python File**
```shell
chmod +x fileUploader.py
```
**Binary File**
```shell
chmod +x fileUploader
```
Usage
**Python File**
```shell
python3 fileUploader.py
```
**Binary File**
```shell
./fileUploader
```
GoFile
GoFile.io File Uploader and Downloader
Windows
##### Installation
You can install executing gofile_setup.exe and follow the steps.
Usage
Run the program from the command line with the following options:
Options:
-v
, --verbose
: Enable verbose mode to display detailed information during execution.
-d, --download-url <url>
: Download a file by providing the URL.
-s, --download <server> <fileId> <fileName>
: Download a file by specifying the server, fileId, and fileName.
-u, --upload <filepath>
: Upload a file from a local path.
--json
: Return data in JSON format.
--xml
: Return data in XML format.
--plaintext
: Return data in plain text format.
-o, --output <output-file>
: Save the processed data to a file with the specified name.
Examples:
Upload a file:
python gofile.py -u file.txt
Download a file by URL:
python gofile.py -d https://store5.gofile.io/download/fcd000f4-73d1-4966-8c56-20496efd150a/text.txt
Download a file by server, fileId, and fileName:
python gofile.py -s store5 fcd000f4-73d1-4966-8c56-20496efd150a file.txt
Output Format
The program can return data in JSON, XML, or plain text format. If no format is specified, it defaults to plain text format.
**XML**
```xml
ok
uT0xLP89WVxbjMQVM1iDh5nC5b0ANORa
https://gofile.io/d/5Zisuc
5Zisuc
10ea022d-a43a-4faf-bcae-2889c7a48e8a
fcd000f4-73d1-4966-8c56-20496efd150a
text.txt
89da2808465ff4b8a18e192ba873c458
store11
```
**JSON***
```json
{
"status": "ok",
"data": {
"guestToken": "UJlzsi3EdfdUmr5SlimWPKZn7x8ifJM5",
"downloadPage": "https://gofile.io/d/BPWAu8",
"code": "BPWAu8",
"parentFolder": "ab6f7927-5c19-4ab9-a83a-e4ae3db095e2",
"fileId": "6cc4e899-92bc-4b3a-af13-442254b9c105",
"fileName": "text.txt",
"md5": "89da2808465ff4b8a18e192ba873c458",
"server": "store8"
}
}
```
**PLAINTEXT**
```css
status : ok
data :
guestToken : OUWgISULaTNl42Tr5tc8UIiI1Zl8iwY8
downloadPage : https://gofile.io/d/TEza0q
code : TEza0q
parentFolder : a1d87e71-f2c0-43e2-974d-a24e8d587bc6
fileId : 0ec70f4d-4ae6-4449-8674-91af5909fb42
fileName : text.txt
md5 : 89da2808465ff4b8a18e192ba873c458
server : store8
```
**Right Click to File**
![Adjuntar Imagen](imagen de asdasdadas en contexto de menu de archivo)
</details>
</details>
Linux
##### Installation
You can install executing gofile_setup.sh.
Permissions
**Python File**
```shell
chmod +x goFile.py
```
**Binary File**
```shell
chmod +x goFile
```
Usage
Usage
Run the program from the command line with the following options:
Options:
-v
, --verbose
: Enable verbose mode to display detailed information during execution.
-d, --download-url <url>
: Download a file by providing the URL.
-s, --download <server> <fileId> <fileName>
: Download a file by specifying the server, fileId, and fileName.
-u, --upload <filepath>
: Upload a file from a local path.
--json
: Return data in JSON format.
--xml
: Return data in XML format.
--plaintext
: Return data in plain text format.
-o, --output <output-file>
: Save the processed data to a file with the specified name.
Examples:
Upload a file:
python gofile.py -u file.txt
Download a file by URL:
python gofile.py -d https://store5.gofile.io/download/fcd000f4-73d1-4966-8c56-20496efd150a/text.txt
Download a file by server, fileId, and fileName:
python gofile.py -s store5 fcd000f4-73d1-4966-8c56-20496efd150a file.txt
Output Format
The program can return data in JSON, XML, or plain text format. If no format is specified, it defaults to plain text format.
**XML**
```xml
ok
uT0xLP89WVxbjMQVM1iDh5nC5b0ANORa
https://gofile.io/d/5Zisuc
5Zisuc
10ea022d-a43a-4faf-bcae-2889c7a48e8a
fcd000f4-73d1-4966-8c56-20496efd150a
text.txt
89da2808465ff4b8a18e192ba873c458
store11
```
**JSON***
```json
{
"status": "ok",
"data": {
"guestToken": "UJlzsi3EdfdUmr5SlimWPKZn7x8ifJM5",
"downloadPage": "https://gofile.io/d/BPWAu8",
"code": "BPWAu8",
"parentFolder": "ab6f7927-5c19-4ab9-a83a-e4ae3db095e2",
"fileId": "6cc4e899-92bc-4b3a-af13-442254b9c105",
"fileName": "text.txt",
"md5": "89da2808465ff4b8a18e192ba873c458",
"server": "store8"
}
}
```
**PLAINTEXT**
```css
status : ok
data :
guestToken : OUWgISULaTNl42Tr5tc8UIiI1Zl8iwY8
downloadPage : https://gofile.io/d/TEza0q
code : TEza0q
parentFolder : a1d87e71-f2c0-43e2-974d-a24e8d587bc6
fileId : 0ec70f4d-4ae6-4449-8674-91af5909fb42
fileName : text.txt
md5 : 89da2808465ff4b8a18e192ba873c458
server : store8
```
</details>
AnonFiles (**DEPRECATED**)
Description of AnonFiles
Windows
##### Installation
You can install executing anonfiles_setup.exe and follow the steps.
Usage
**Python File**
```shell
python3 anonFiles.py
```
**Exe File**
```shell
start anonFiles.exe
```
**Right Click to File**
![Adjuntar Imagen](imagen de asdasdadas in the context of the file menu)
Linux
##### Installation
You can install executing anonfiles_setup.sh.
Permissions
**Python File**
```shell
chmod +x anonFiles.py
```
**Binary File**
```shell
chmod +x anonFiles
```
Usage
**Python File**
```shell
python3 anonFiles.py
```
**Binary File**
```shell
./anonFiles
```
BayFiles (**DEPRECATED**)
Description of BayFiles
Windows
##### Installation
You can install executing bayfiles_setup.exe and follow the steps.
Usage
**Python File**
```shell
python3 bayfiles.py
```
**Exe File**
```shell
start bayfiles.exe
```
**Right Click to File**
![Adjuntar Imagen](imagen de asdasdadas in the context of the file menu)
Linux
##### Installation
You can install executing bayfiles_setup.sh.
Permissions
**Python File**
```shell
chmod +x bayfiles.py
```
**Binary File**
```shell
chmod +x bayfiles
```
Usage
**Python File**
```shell
python3 bayfiles.py
```
**Binary File**
```shell
./bayfiles
```
</details>
## Technologies
Enjoy easy and convenient file uploads with FileUploader!
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
| **Service** | **What we need** | **URL** | **Active** |
|------------- |------------------ |--------- |------------ |
|**JSONBin**|API KEYs|[Fill te form](https://forms.gle/2J96dZAEYDDJaEcp9)|**YES**|
|*TEST*|API KEYs|[Fill te form](https://forms.gle/)|**No**|
|*TEST*|API KEYs|[Fill te form](https://forms.gle/)|**No**|
## License
[MIT](https://choosealicense.com/licenses/mit/)