Author Topic: PtokaX BOT sharing it's own files.  (Read 490 times)

0 Members and 1 Guest are viewing this topic.

Offline MorriesAUS

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
PtokaX BOT sharing it's own files.
« on: 19 July, 2021, 02:54:22 »
Good day, I've tried to find this in the forum without any luck. Please refer me to a link if I might have missed it.

I'm running PtokaX on an Ubuntu server, this same server has a large amount of data I would like to share. I was wondering if the dummy PtokaX bot user can also share this content. I don't really want to install another DC client on the same server.

I also just use the console mode on the server. So I'm not looking for a GUI solution. Is there an easy way to setup folders that can be shared from PtokaX or the bot user itself?

PtokaX forum

PtokaX BOT sharing it's own files.
« on: 19 July, 2021, 02:54:22 »

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 114
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
Re: PtokaX BOT sharing it's own files.
« Reply #1 on: 09 September, 2021, 18:07:19 »
There was a "commandline" dc client in the past, maybe microdc?... I used it on linux to share on my hub.

UP: Yes, on FreeBSD it is available as microdc2. Search for it with apt...

Code: [Select]
microdc2> connect 78.24.185.25:1209
Connecting to hub on 78.24.185.25:1209.
Connected to hub from 78.24.185.25:30920.
Nick accepted. You are now logged in.
Hub name is FreeBSD Teszt.
Public: <HubBot> This hub is running PtokaX DC Hub 0.5.2.2 (UpTime: 0 days, 2 hours, 19 minutes / Users: 1)
Public: <HubBot> Welcome to PtokaX
Public: <HubBot> or use "this way" to quote something...
microdc2> say Hello world!
Public: <microdc2> Hello world!
microdc2> transfers
Upload slots: 0/3  Download slots: 0/unlimited
Public: <[TD]Ella> First rule of Janine club is you do not talk about Janine club.
Public: <[Elf]Janine> Shut up Ella you stupid bitch!
microdc2> share ~/Downloads
~/Downloads: Cannot get file status - No such file or directory
microdc2> share /usr/home/atag/Downloads
Sharing 47095793159 bytes (44GiB) totally
microdc2> set listenaddr 78.24.185.25
Listening address set to 78.24.185.25.
microdc2> set listenport 65410
User ATAG is also passive. Cannot communicate.
Sharing 47095793159 bytes (44GiB) totally
microdc2> set active on
Listening on 78.24.185.25:65410.
Public: <[TD]Storm> So, who wants to buy an elfgirl a drink?
User ATAG quits.
User from 31.46.95.116:60003 connected.
User connection `unknown1' renamed to `ATAG|'.
User connection `ATAG|' renamed to `ATAG|UL'.
User ATAG|UL: Ignoring $ADCGET flags: DB0
ATAG: Starting upload of `files.xml.bz2' (79309 bytes).
ATAG: Upload of `files.xml.bz2' succeeded (transfer complete). 78KiB transferred in 0s (78KiB/s).
microdc2>
Use help and set commands for details...
« Last Edit: 09 September, 2021, 18:44:48 by ATAG »

PtokaX forum

Re: PtokaX BOT sharing it's own files.
« Reply #1 on: 09 September, 2021, 18:07:19 »