FTP server app for android

Related tags

Networking prim-ftpd
Overview

Primitive FTPd

FTP server app for android.

Code Size

Donate

Get it on F-Droid

Get it on Google Play

Get it on Amazon

Some features:

  • Can optionally be started on system boot
  • Shows statusbar notification when server is running
  • Server can be stopped from statusbar
  • Shows information about how to connect on main screen
  • Optional wakelock while server runs to avoid uploads and downloads to be aborted
  • Optional encryption via sftp
  • Server can be announced
  • Public key authentication for sftp
  • Optional anonymous login
  • Widget to start/stop server
  • Plugins for powertoggles and tasker
  • Android 7 Quicksettings Tile
  • Optional root access
  • Optional support for Android Storage Access Framework to access external sd-card the official way (NOTE requires selecting a directory, not the root of the sd-card).

Want to help translating it? See our shiny weblate instance!

Comments
  • Permanent write permission possible?

    Permanent write permission possible?

    Hello,

    first of all, fantastic work! In my opinion the best option for bloat-free wireless file transfer on Android, thanks a lot. However, I'm into a small problem:

    I want to use the ftp server with write access. The only option for this seems to be the Android Storage Access Framework (SAF) because the default file system access is read-only (is this intended or a bug?). Using SAF works, however I have to permit the SAF access over and over again, even the read permission resets itself. Is there any option for permanent SAF permissions?

    And if this it not possible in the SAF way, is permanent write access possible using the root option (which of course requires rooting the device)? Since my phone is not rooted I could not test it, but if rooting will solve this I might think about it...

    Thanks in advance!

    opened by Gibtnix 31
  • Ask for a new key every time it start

    Ask for a new key every time it start

    Device: Moto Z2 Force Nash OS: LineageOS 15.1-20181228-Nightly-Nash Android 8.1 Every time i reboot the phone, ftpd will ask for a new key. choosing either option generate or cancel has no effect on it correct work. Log was attached below, and the suffix should be csv.

    prim-ftpd-log-2018-12-30-00-37-22.txt

    cannot reproduce 
    opened by FX9590 20
  • Zero file output in root mode

    Zero file output in root mode

    In FTP mode with super user mode selected, received jpeg file is corrupt.

    Phone HTC 10. Operating system is LineageOS 7.1.2. Rooted. Primitive FTPD version is 5.10 downloaded from f-droid. Downloaded file with Filezilla 3.33.0 on Debian Sid.

    opened by aario 19
  • Allow anonymous login (option) reseting itself to ON

    Allow anonymous login (option) reseting itself to ON

    Hi When I open settings, scroll down and then back up. the option for allowing anonymous logins toggles itself to ON. You might wanna check that out. I'm using latest version from F-Droid (4.8.2)

    opened by ghost 19
  • /storage, /sdcard and other directories are not readable using SFTP after upgrade v4.4 => v4.5

    /storage, /sdcard and other directories are not readable using SFTP after upgrade v4.4 => v4.5

    After upgrading from v4.4 to v4.5 some directories are not readable anymore. All settings of the phone and this app are the same. Downgrading back to v4.4 (after uninstalling v4.5) makes these directories readable again.

    When on v4.5 I do ls -l / I get an "Input/output error" message for every directory that is not readable, and every unreadable directory looks like this: ?????????? ? ? ? ? ? storage.

    opened by 1-eric 18
  • Doesn't have write permission on internal storage

    Doesn't have write permission on internal storage

    Mode "Plain old filesystem" access is only read only and other non-root accesses doesn't work on internal storage of android 8.1

    I check on setting app have all permission it requires.

    opened by podhorsky-ksj 15
  • SFTP does not start

    SFTP does not start

    I tried v3.0 from f-droid.org on Android 4.4.2 and only FTP starts. The OS is rooted and other services like Samba work fine. I only need sftp, can you please fix it?

    opened by kmm2 14
  • not listening IPv4

    not listening IPv4

    the program does not listen and does not work on IPv4 protocol (no tcp). Listens only on IPv6 port (only tcp6). Where could the problem be?

    Phone: Redmi Note 7 (LineageOS 16.0 (Android 9.0))

    netstat -lptun | grep ftp tcp6 0 0 :::12377 :::* LISTEN 3483/org.primftpd

    ------------ Log ------------ "2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"onResume()";""; "2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"displayServersState()";""; "2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"checkServicesRunning()";""; "2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"updateButtonStates()";""; "2019-11-30 10:34:57.9";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"network connectivity changed, data str: 'null', action: 'android.net.conn.CONNECTIVITY_CHANGE'";""; "2019-11-30 10:34:59.5";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"genKeysAndShowProgressDiag()";""; "2019-11-30 10:34:59.5";"TRACE";"org.primftpd.ui.GenKeysAsyncTask";"GenKeysAsyncTask()";""; "2019-11-30 10:34:59.5";"DEBUG";"org.primftpd.ui.GenKeysAsyncTask";"generating key";""; "2019-11-30 10:34:59.5";"TRACE";"org.primftpd.ui.GenKeysAsyncTask";"num of existing files: '0'";""; "2019-11-30 10:34:59.7";"TRACE";"org.primftpd.ui.GenKeysAsyncTask";"onPostExecute()";""; "2019-11-30 10:34:59.7";"TRACE";"org.primftpd.util.KeyFingerprintProvider";"calcPubkeyFingerprints()";""; "2019-11-30 10:34:59.7";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"handleStart()";""; "2019-11-30 10:34:59.7";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"hasPermission()";""; "2019-11-30 10:34:59.7";"TRACE";"org.primftpd.PrimitiveFtpdActivity";"isKeyPresent() -> true";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.SshServerService";"onStartCommand()";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"handling event, offset: 1575142499765 ms";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"starting sftp-ssh server";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"displayServersState()";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"checkServicesRunning()";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"updateButtonStates()";""; "2019-11-30 10:34:59.7";"INFO";"org.apache.sshd.common.util.SecurityUtils";"BouncyCastle already registered as a JCE provider";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.FtpServerService";"onStartCommand()";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"ignoring event, offset: 7 ms";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";""; "2019-11-30 10:34:59.7";"DEBUG";"org.primftpd.services.ServerServiceHandler";"starting ftp server";""; "2019-11-30 10:34:59.8";"DEBUG";"org.apache.ftpserver.impl.DefaultFtpServerContext";"Intializing shared thread pool executor with max threads of 10";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.services.ServerServiceHandler";"acquiring wake lock (sftp-ssh)";""; "2019-11-30 10:34:59.8";"INFO";"org.apache.ftpserver.impl.DefaultFtpServer";"FTP server started";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.services.ServerServiceHandler";"wake lock already taken (ftp)";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::3c55:b7ff:fe6e:b0ec%dummy0', iface name: 'dummy0', disp name: 'dummy0', loopback: '...";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::3c55:b7ff:fe6e:b0ec%dummy0'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/::1', iface name: 'lo', disp name: 'lo', loopback: 'true'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/127.0.0.1', iface name: 'lo', disp name: 'lo', loopback: 'true'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::2a16:7fff:fee2:b36a%wlan0', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::2a16:7fff:fee2:b36a%wlan0'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/192.168.1.7', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::3c55:b7ff:fe6e:b0ec%dummy0', iface name: 'dummy0', disp name: 'dummy0', loopback: '...";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::3c55:b7ff:fe6e:b0ec%dummy0'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/::1', iface name: 'lo', disp name: 'lo', loopback: 'true'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/127.0.0.1', iface name: 'lo', disp name: 'lo', loopback: 'true'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/fe80::2a16:7fff:fee2:b36a%wlan0', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"Skipping IPv6 address 'fe80::2a16:7fff:fee2:b36a%wlan0'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.util.IpAddressProvider";"addr: '/192.168.1.7', iface name: 'wlan0', disp name: 'wlan0', loopback: 'false'";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";""; "2019-11-30 10:34:59.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";""; "2019-11-30 10:35:06.7";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"onPause()";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"onStart()";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"loadPrefs()";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got anonymousLogin: false";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got userName: delete";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got password: delete...";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got startDir: /storage/emulated/0";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got announce: false";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got announceName: primitiveNote";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got wakelock: true";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got pubKeyAuth: false";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'which server': ALL";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got ftpPassivePorts: null";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got idleTimeout: null";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'port': 12355";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'secure port': 12377";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got showConnectionInfo: true";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'StorageType': PLAIN";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got safUrl: ";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got allowedIpsPattern: ";""; "2019-11-30 10:39:01.5";"DEBUG";"org.primftpd.PrimitiveFtpdActivity";"got 'logging': NONE";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.FtpServerService";"onDestroy()";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopping ftp server";""; "2019-11-30 10:41:11.4";"DEBUG";"org.apache.ftpserver.impl.DefaultFtpServerContext";"Shutting down the thread pool executor";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"releasing wake lock (ftp)";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopSelf (ftp)";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.SshServerService";"onDestroy()";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"handleMessage()";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopping sftp-ssh server";""; "2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.SshServer";"Closing SshServer[a4b3f19] gracefully";""; "2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.common.io.mina.MinaServiceFactory";"Closing org.apache.sshd.common.io.mina.MinaServiceFactory@131d4ec gracefully";""; "2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.common.io.mina.MinaServiceFactory";"org.apache.sshd.common.io.mina.MinaServiceFactory@131d4ec closed";""; "2019-11-30 10:41:11.4";"DEBUG";"org.apache.sshd.SshServer";"SshServer[a4b3f19] closed";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"wake lock already released (sftp-ssh)";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.services.ServerServiceHandler";"stopSelf (sftp-ssh)";""; "2019-11-30 10:41:11.4";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";""; "2019-11-30 10:41:13.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";""; "2019-11-30 10:41:13.8";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";""; "2019-11-30 10:46:51.3";"DEBUG";"org.primftpd.remotecontrol.TaskerReceiver";"sending tasker RequestQueryCondition";"";

    opened by OmlineEditor 13
  • Folder Creation impossible

    Folder Creation impossible

    CM13.0 with latest December Snapshot Nexus 6 & Nexus 7 Client Filezilla

    It is impossible to create new folders.

    " Error: Directory /sdcard/0Installation/ROM/Lineage: no such file or directory Error: Verzeichnisinhalt konnte nicht empfangen werden "

    opened by MartinX3 13
  • "Permission denied" while copying certain files from /data/data

    When I connect to prim-ftpd SFTP with Storage type "Super user" with Filezilla and browse to /data/data/com.whatsapp/databases, I can list the files and folders just fine. However, if I try to copy msgstore.db, I get error "Permission denied". If I use my File manager to copy the file to another folder, first - and copy it from there, everything works fine.

    Thank you very much in advance. :+1:

    opened by finefoot 12
  • Filesystem (SD or internal) only readable after Update to tfpd 5.0

    Filesystem (SD or internal) only readable after Update to tfpd 5.0

    Filesystem (SD or internal) only readable after Update to tfpd 5.0 on my Galaxy S8.

    Same Problem with "Gutes, altes Dateisystem" and "SAF"

    opened by klausmaus 12
  • Uploaded file timestamp is different

    Uploaded file timestamp is different

    I'm using primitive ftpd v6.15 with the super user storage type. My phone is running Android 12, xiaomi.eu v13.0.15, rooted.

    I'm using sftp to upload a file to the phone. The transfer appears to work fine and the file size is the same, but the timestamp is different on the phone. I noticed another issue where the timestamp was the created time instead of the modified time, but in this case, it is neither.

    The original file created time is 12/3/2022 1:37:01 AM and the modified time is 12/13/2022 11:05:30 PM.

    When I look at the file on the phone from a usb connection, it shows the timestamp as 2/8/2020 at 8:52 PM. When I look at the file on the phone from sftp, it shows the timestamp as 2/9/2020.

    Windows 10 vs. sftp (psftp/putty) 12/13/2022 11:05 PM 179,746 backup.daily -rwxrwx--- 0 root everybod 179746 Feb 9 2020 backup.daily

    Any ideas?

    UPDATE: It's odd. I noticed after I rebooted the phone, it has the correct timestamp on the file. So I tried uploading it again. This time the timestamp had a future date, 2/16/2023 4:04 PM. Then I rebooted the phone, and it's correct, 12/15/2022 1:35 AM. If I copy the file using the usb connection, this doesn't happen. It only happens via sftp, and the timestamp is incorrect viewed from sftp or usb. Until I reboot the phone.

    opened by dave0003 1
  • ATV no access to usb flash

    ATV no access to usb flash

    Good day. I really liked your program. But I don't have USB flash memory access on ATV10 (android 10). Pftpd doesn't even request access to usb flash. Other applications, in particular x-plore and sd maid have access and work correctly with usb. When trying to put a checkbox on Android Storage Access Framework (SAF), the setting is not saved. Could you solve this problem in the next release? Ready to test.

    Screenshot_20221206-202901 Screenshot_20221206-203111 Screenshot_20221206-203426

    opened by paolosezart 1
  • App didn't open when connected to wifi

    App didn't open when connected to wifi

    Usually, I use this app as local network with hotspot on android and wifi on pc. This time I tried with connecting both android and pc to other wifi. And after that app didn't open. Crash log: https://hastebin.com/roqurocidu

    Android version: 11 OS: Ancient OS based on AOSP

    opened by darpan5552 1
  • Tab expansion breaks connection in  read-only SAF mode

    Tab expansion breaks connection in read-only SAF mode

    Set prim-ftpd to read-only SAF mode and login:

    Connected to s8.
    sftp> ls  <TAB>
    # the output is changed to
    Connected to s8.
    Connection closed.  
    Connection closed
    mcd@T500: ~
    [255]$  # typing here does not show any characters. something is wrong with the terminal. sftp probably didn't exit cleanly.
    

    Typing TAB breaks something.

    $ sftp -v s8
    OpenSSH_9.1p1, OpenSSL 1.1.1q  5 Jul 2022
    debug1: Reading configuration data /home/mcd/.ssh/config
    debug1: /home/mcd/.ssh/config line 9: Applying options for s8
    debug1: /home/mcd/.ssh/config line 49: Applying options for *
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: auto-mux: Trying existing master
    debug1: Control socket "/tmp/ssh_mux_192.168.178.98_1234_mcd" does not exist
    debug1: Connecting to 192.168.178.98 [192.168.178.98] port 1234.
    debug1: Connection established.
    debug1: identity file /home/mcd/.ssh/t2s8new type 3
    debug1: identity file /home/mcd/.ssh/t2s8new-cert type -1
    debug1: Local version string SSH-2.0-OpenSSH_9.1
    debug1: Remote protocol version 2.0, remote software version ${POM.ARTIFACTID}-${POM.VERSION}
    debug1: compat_banner: no match: ${POM.ARTIFACTID}-${POM.VERSION}
    debug1: Authenticating to 192.168.178.98:1234 as 'mcd'
    debug1: load_hostkeys: fopen /home/mcd/.ssh/known_hosts2: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: algorithm: ecdh-sha2-nistp256
    debug1: kex: host key algorithm: ssh-ed25519
    debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
    debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
    debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
    debug1: SSH2_MSG_KEX_ECDH_REPLY received
    debug1: Server host key: ssh-ed25519 SHA256:YXGPy6x88H4OkI/hKRROKmDqmJC4D/WDHhrXyyCatKU
    debug1: load_hostkeys: fopen /home/mcd/.ssh/known_hosts2: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
    debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
    debug1: Host '[192.168.178.98]:1234' is known and matches the ED25519 host key.
    debug1: Found key in /home/mcd/.ssh/known_hosts:29
    debug1: rekey out after 4294967296 blocks
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: rekey in after 4294967296 blocks
    debug1: get_agent_identities: bound agent to hostkey
    debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
    debug1: Will attempt key: /home/mcd/.ssh/t2s8new ED25519 SHA256:87b1x6GU1onTcOkumkKvP4svRY9jgpm/Hh+uc8BaMLk explicit
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: password,keyboard-interactive,publickey
    debug1: Next authentication method: publickey
    debug1: Offering public key: /home/mcd/.ssh/t2s8new ED25519 SHA256:87b1x6GU1onTcOkumkKvP4svRY9jgpm/Hh+uc8BaMLk explicit
    debug1: Server accepts key: /home/mcd/.ssh/t2s8new ED25519 SHA256:87b1x6GU1onTcOkumkKvP4svRY9jgpm/Hh+uc8BaMLk explicit
    Authenticated to 192.168.178.98 ([192.168.178.98]:1234) using "publickey".
    debug1: setting up multiplex master socket
    debug1: channel 0: new [/tmp/ssh_mux_192.168.178.98_1234_mcd]
    debug1: channel 1: new [client-session]
    debug1: Entering interactive session.
    debug1: pledge: id
    debug1: Sending subsystem: sftp
    Connected to s8.
    sftp> ls debug1: client_input_channel_req: channel 1 rtype exit-status reply 0
    debug1: channel 1: free: client-session, nchannels 2
    debug1: channel 0: free: /tmp/ssh_mux_192.168.178.98_1234_mcd, nchannels 1
    Transferred: sent 2272, received 1512 bytes, in 2.0 seconds
    Bytes per second: sent 1134.1, received 754.8
    debug1: Exit status 0
    Connection closed.  
    Connection closed
    

    here is the logfile. using primftp 6.14. prim-ftpd-log-2022-10-21-21-04-14.csv

    opened by castilma 1
  • Passive mode - does it work? Rclone copy failed.

    Passive mode - does it work? Rclone copy failed.

    win 10 ltsc + rclone Mi 11 + MIUI 13.0.9

    ./rclone sync D:\share ftp:down

    2022/10/17 14:54:58 ERROR : test (4).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:54:58 ERROR : test (5).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:54:58 ERROR : test (1).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:54:59 ERROR : test (3).xlsx: Failed to copy: update stor: 425 Can't open passive connection.
    2022/10/17 14:54:59 ERROR : ftp://192.168.191.2:12345/down: not deleting files as there were IO errors
    2022/10/17 14:54:59 ERROR : ftp://192.168.191.2:12345/down: not deleting directories as there were IO errors
    2022/10/17 14:54:59 ERROR : Attempt 1/3 failed with 4 errors and: update stor: 425 Can't open passive connection.
    2022/10/17 14:54:59 ERROR : test (1).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:54:59 ERROR : test (4).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:55:00 ERROR : test (5).xlsx: Failed to copy: update stor: 425 Can't open passive connection.
    2022/10/17 14:55:00 ERROR : ftp://192.168.191.2:12345/down: not deleting files as there were IO errors
    2022/10/17 14:55:00 ERROR : ftp://192.168.191.2:12345/down: not deleting directories as there were IO errors
    2022/10/17 14:55:00 ERROR : Attempt 2/3 failed with 3 errors and: update stor: 425 Can't open passive connection.
    2022/10/17 14:55:00 ERROR : test (1).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:55:00 ERROR : test (5).xlsx: Failed to copy: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:55:01 ERROR : ftp://192.168.191.2:12345/down: not deleting files as there were IO errors
    2022/10/17 14:55:01 ERROR : ftp://192.168.191.2:12345/down: not deleting directories as there were IO errors
    2022/10/17 14:55:01 ERROR : Attempt 3/3 failed with 2 errors and: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    2022/10/17 14:55:01 Failed to sync with 2 errors: last error was: Put mkParentDir failed: mkdir "down" failed: 425 Can't open passive connection.
    

    Screenshot_2022-10-17-15-01-08-419_me zhanghai android files

    There are 5 files in total, but only 3 files succeed, and there are a lot of error prompts.

    prim-ftpd-log-2022-10-17-14-54-32.csv

    opened by perthun 1
Releases(prim-ftpd-6.15)
Owner
null
A js websocket server that handle an android app that connect to the sever with a QR code, to move a red square on a webpage with the gyroscope and accelerometer

online game a js websocket server with an express server, with a mobile app. backend express is used to handle the creation page, game page and the cr

null 2 Oct 7, 2021
HTTP Server for Android Instrumentation tests

RESTMock REST API mocking made easy. RESTMock is a library working on top of Square's okhttp/MockWebServer. It allows you to specify Hamcrest matchers

Andrzej Chmielewski 750 Dec 29, 2022
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.

AndroidAsync AndroidAsync is a low level network protocol library. If you are looking for an easy to use, higher level, Android aware, http request li

Koushik Dutta 7.3k Jan 2, 2023
A gRPC Kotlin based server and client starter that builds with Gradle and runs on the JVM

gRPC Kotlin starter Overview This directory contains a simple bar service written as a Kotlin gRPC example. You can find detailed instructions for bui

Hypto 8 Sep 19, 2022
WebRTC Ktor Signaling Server Example

This repo is part of WebRTC examples, see also: P2P Android client based on WebRTC

Artem Bagritsevich 8 Aug 30, 2022
Ktor-Client this is the client part that uses the Ktor server

Ktor-Client this is the client part that uses the Ktor server Previews Tech stack & Open source libraries Minimum SDK level 21. Kotlin+ Coroutines + F

Mohamed Emad 4 Dec 23, 2022
Cli lightning network server, based on LDK (rust-lightning). Provides DUMB-RPC interface (telnet friendly).

Hello Lightning Cli lightning network server, based on LDK (rust-lightning). Provides DUMB-RPC interface (telnet friendly). Example: Build it run it:

null 9 Mar 28, 2022
Note app: an android app that allows to build some sticky note, management functionality are

NoteApp note app is an android app that allows to build some sticky note, manage

inderjeet yadav 1 Jan 8, 2022
WebRTC Android App Example

This repo is part of WebRTC examples, see also: WebRTC Signaling server in Ktor - https://github.com/artem-bagritsevich/WebRTCKtorSignalingServerExamp

Artem Bagritsevich 5 Nov 14, 2022
Gear VPN - Free, Secure & Open sourced VPN app made with Jetpack Compose.

Gear VPN - Free, Secure & Open sourced VPN app made with Jetpack Compose.

Kaustubh Patange 86 Dec 23, 2022
App Jurnal with Firebase Firestore

Post-G App Jurnal with Firebase Firestore This project using the Architecture Components: MVVM Lifecycle-aware components ViewModels LiveData Navigati

Ghozi Mahdi 3 Jun 4, 2022
Helmet secures your spring Webflux or MVC app by setting various HTTP headers

Helmet Helmet secures your spring Webflux or MVC app by setting various HTTP headers. This is a 1:1 copy of Helmet.js Quick start Add https://jitpack.

Dušan 1 Oct 28, 2021
Practice on connecting to internet and getting data from internet app. This gets Mars photos

MarsPhotos - Starter Code Starter code for Android Basics in Kotlin. Introduction Using this stater code you will create MarsPhotos is a demo app that

Espérant GADA 0 Nov 6, 2021
Note app that allows user to save/edit/delete/search any type of notes and view them in a list

NoteApp Note app that allows user to save/edit/delete/search any type of notes a

rıdvan 15 May 6, 2022
Uppics - A simple app that authenticates a user and allows them to post images which can then be upvoted or downvoted

UpPics A simple app that authenticates a user and allows them to post images whi

Fuad Gbadamosi 0 Jan 4, 2022
Tiny app to change Wi-Fi state via broadcast

WyFy Wi-Fi change state adapter. Tiny app to change Wi-Fi state via broadcast. Useful to bypass Google limitation on apps targeting API 29 and higher.

lucky 7 Aug 21, 2022
An App to download a file from Internet by clicking on a custom-built button

LoadApp LoadApp is an app to download a file from the Internet by clicking on a custom-built button where: Width of the button gets animated from left

Anas Tariq 2 Aug 29, 2022
:satellite: [Android Library] Simplified async networking in android

Android library that simplifies networking in android via an async http client. Also featured in [Awesome Android Newsletter #Issue 15 ] Built with ❤︎

Nishant Srivastava 36 May 14, 2022