There is application like FileZilla that use ftp to do same thing. but telegram bot with some internets are faster like my own internet.
I plan to add file exploring, zip/unzip files and i don't know it's possible or not but i want add some function that you can run executables in server, to test program like telegram bots that mostly are single file.
- Uploading File
- Downloading File
- File Exploring
- zip file in server side then send it.
- Execute Programs in server
- Make uploaded app start in boot
- Replace file of uploaded project(app) with new version
- Create your bot with 'bot father' bot in telegram
- Get token from bot father
- Download ServerTransfer_bot program in your server
- Run it.
- Give token to program.
- Start use bot from telegram client.
-
Download Release file with wget :
sudo wget https://github.com/Nima-abdoli/ServerTransfer_bot/releases/download/v0.1.5/ServerTransfer_bot.v0.1.5.zip
-
Unzip the downloaded file
sudo unzip ServerTransfer_bot.v0.1.5.zip
-
Make "ServerTransfer_bot" file executable(forgot to do it before release it.)
sudo chmod +x ServerTransfer_bot
Make Sure to do all of this in your Intended directory