yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] peterbonge:
An update:

Today I wanted to sync my phone again and the sync app wanted to copy every file to my PC because the time-stamps had a difference of 2h.

I'm sure that the time-stamps of the files on the PC are all unchanged. That means that something has changed the time-stamps of all files on the device -2h.

I doubt that this was caused by FTPDroid, because it already happened in the past with another device and via USB connection. I think it was caused by Android. Maybe the media scanner? Has anybody some info? Google Search doesn't help with this problem.

Another problem: It seems that the sync app doesn't always find all files on the phone. Sometimes the sync app shows files as missing on the device and if I scan again these files aren't missing anymore.
[Android Apps and Games] imakul8:
I love your app man! I had been trying to figure out Filezilla(never did either:o) when I discovered your app. I use it with FireFTP on Firefox. It is so simple to use and I have never had a single issue with it. This will remain a staple app for me. Btw, I gave you all my "Thanks" for the day.:D
[Android Apps and Games] Albert Poon:
(Hey Berserker here I come!)

Maybe a loop script running in background?

get the proc id of pure-ftpd (SERVER) and check /proc/$ID, if not exist, kill all pure-ftpd (IDLE) and exit the script?

Also, can you implement wake on command?

I have done some tests regarding transfer speed:

Screen on:

To SSHDroid: 4Mb/s

From SSHDroid: 2Mb/s

Screen off:

To SSHDroid: 3Mb/s

From SSHDroid: 1.6Mb/s

My settings:

Lock Wifi: ON

MicroSD: 32G/class10

SetCPU: 118800/19200, Screen off: 38400/19200
[Android Apps and Games] berserker_devel:
Thanks for the suggestion, I'll have a look on it ;)

Can you explain this? As you probably know FTPDroid is a native port of Pure-FTPd and my original idea is to keep it as "clean" as possible without "hacking" it.
[Android Apps and Games] Mr Wolf:
Hi!

I read FTPDroid supports SFTP, but I can't find any option about it.
[Android Apps and Games] berserker_devel:
Pure-FTPd already supports SFTP but actually isn't available on FTPDroid yet.

It will probably available in the next releases, bye!
[Android Apps and Games] Ghodmode:
No directory listing

I can't get it to work for me. From the PC, I can log in, but I'm unable to retrieve directory listing. It just hangs after trying to retrieve the directory listing.

I've tried active and passive mode, just in case.

On PC, I'm using Linux. I've tried both Filezilla and the command-line FTP client.

Here's the output:

Home network using WiFi on LAN

Samsung Galaxy S2 (GT-I9100)

Codeworkx Kernel: Android 2.3.5

CyanogenMod 7

Thank you.

Ghodmode

www ghodmode com
[Android Apps and Games] berserker_devel:
Version 1.2.0 has just been released on the market, here it is the changelog:

ICS compatibility fixes

Active connections are now closed correctly once the service is stopped

Translations updated
[Android Apps and Games] FqFKrazz:
Tasker

Hi,

I've tried about all different FTP-servers I can find and yours is the best one I can find.

There is, however, one detail that work with the other servers that doesn't work with yours.

When I try to kill the FTP-server with tasker, it doesn't die.

I have Tasker set up to kill some apps when disconnected from the charger. All apps that I try to kill die, except for the FTPDroid.

So, is there a way to take care of this? Maybe send a parameter to the process or in some other way tell FTPDroid to shut down.

Best regards,

Krazz
[Android Apps and Games] berserker_devel:
Thanks for the feedback ;)

I never used Tasker on Android but you could have a look if that application supports one of the following operations:

Send a command to the ftp service: this is the best solution since you could send "STOP" to service berserker.android.apps.ftpdroid.DaemonService (free version) or berserker.android.apps.ftpdroidpro.DaemonService (paid version)

Kill the pure-ftpd application: this is more complex since you will need to invoke a shell with "kill <pure-ftpd pid>" where pure-ftpd pid could be read from a file called "pid" located in /data/data/berserker.android.apps.ftpdroid/bin/pid

Using killall: you need to invoke the command "killall pure-ftpd" but note that the killall utility, as far as I know, is not available in the standard Android "distribution" (only the kill command). Busybox is the way to go in this case

Hope it helps, let me know :)
[Android Apps and Games] FqFKrazz:
Ok, I will look into those options. :)
[Android Apps and Games] FqFKrazz:
Swedish Translation

I have made a Swedish translation.
[Android Apps and Games] Uno dei tanti:
Useful, thank you!
[Android Apps and Games] berserker_devel:
Thanks for the translation but unfortunately it seems that there is a problem with the encoding of the files? Which text editor did you use?
[Android Apps and Games] FqFKrazz:
Since I have a rooted phone (SGS2) with busybox I also have the killall command.

So (using a terminal emulator) I tried killall pure-ftpd which worked. That is, the ftp server was killed and I was unable to access it.

FTPDroid was however still running, which made it impossible to connect again. So I also had to execute a "kill ftpdroid". After that I could run FTPDroid as usual and it works.

For others using Tasker:

In Tasker I added a Run Shell command (Misc -> Run Shell) where the command is "killall pure-ftpd" and Use Root is checked.

In the same task as the above Run Shell command, I also added a Kill App (App -> Kill App) where I selected FTPDroid and Use Root is checked.

It's also important that the Run Shell command is executed before the Kill App. If not, this won't work.

Thanks for the help. I will now buy your app as a token of appreciation. ;)
[Android Apps and Games] berserker_devel:
No prob, happy to see that you found a solution ;)
[Android Apps and Games] FqFKrazz:
I used Windows Notepad to edit the files.

Could it be because we use åäö in Swedish?

Hmmm, do you know what I should do?
[Android Apps and Games] berserker_devel:
You could use for example SciTE (which is free and portable), it should keep the correct UTF-8 encoding: just open the two files with SciTE, make the translation and save it ok?
[Android Apps and Games] FqFKrazz:
Swedish Translation (2nd attempt)

Ok, here we go again. I hope this time it's saved correctly.
[Android Apps and Games] berserker_devel:
Now it's correct, thanks!

The translation will be available on the next release ;)
[Android Apps and Games] FqFKrazz:
Am I doing something wrong or.... ?

I was thinking that I could add an account for myself, where I have access to everything (rooted) and another account for my brother where he only has access to his home dir.

For myself I set home to "/", for my brother I set home to "/mnt/sdcard/FtpRoot/".

To both our surprise we both have access to everything. I thought setting a home dir would set the access to the folder and all its sub folders. Apparently it only sets where to direct the user on log in.

Isn't there any other type of security for different users?
[Android Apps and Games] berserker_devel:
"Chroot everyone" is the option that you are looking for, is it enabled?
[Android Apps and Games] FqFKrazz:
Yupp. It's enabled (I've tried with and without it being enabled). It doesn't make any difference how I set it.

If I set my home dir to "/mnt/sdcard/FtpRoot/" and check "Chroot everyone" I get logged in to the specified home dir, but when I click to go to the parent dir I end up in "/mnt/sdcard/" where I also have full access.

I have tried again, and it really doesn't make any difference how I set "Chroot everyone".
[Android Apps and Games] berserker_devel:
That seems a bug then, I'll have a look on it. Thanks for reporting

EDIT: a (temporary) workaround could be to use anonymous access and restrict it to /mnt/sdcard
[Android Apps and Games] berserker_devel:
Found the "problem": looking at the Pure-FTPd documentation seems that for authenticated users the chroot directory must be defined in the form (for example):

where '/./' informs the daemon that /mnt/sdcard/ must be chrooted.

Now I'm in doubt if I should (manually) append the string '/./' or let the user to define it...suggestions?
[Android Apps and Games] FqFKrazz:
This solved it. Great finding.

What if you add the option to the user settings.

When you check "Show advanced options", there could be an option to "Allow parental path browsing"... or something like that.

In code you check if this is selected and add the "/./" accordingly.

Also, the "Chroot everyone" option is obsolete if you use the "/./" approach.
[Android Apps and Games] berserker_devel:
Sounds good, I'll try to implement it for the next release :)

Thanks
[Android Apps and Games] Barryclover:
address binding?

sorry if this is a noob question but what is address binding? It is listed in the settings of FTPDroid and kWS and I've spent some time searching but im still not sure.
[Android Apps and Games] User_99:
German language update for 1.20

Password send per PM
[Android Apps and Games] vinalive:
Will use for college. Sometimes need some submit something to teachers. :)
[Android Apps and Games] matthelm:
Account entry Problem?

I just started using the free version on my Bionic, and noticed when I enter user accounts, the phone becomes VERY slow. Can you look into this. If there is something I can do to help?
[Android Apps and Games] User_99:
Is it possible to test a version with new German translation?
[Android Apps and Games] papaschtroumpf:
it was working great on my Nexus One but I just upgraded to a Galaxy Nexus (running stock 4.0.4 atm) and it is not working for me. when I first start the app I can't connect to it and I noticed the menu says "start" as if it hadn't really started.

Edit: nevermind, working now, I had the USB cable plugged in to charge it, does it mess with ftpdroid on the Galaxy Nexus? This is my first device with MTP
[Android Apps and Games] thorazine74:
Heads up! This app deleted my hosts file when I gave it root, I would not trust a developer that employs this kind of practices. Its kinda malicious if you ask me, do not mess with my device without warning me first!!!! Requiring this just run the free version is plain stupid, it will just make me get the pro version without paying just for trying it out...
[Android Apps and Games] Seakoink:
Translate to Catalan

Hi,

here's my personal catalan translation.

Best regards,

Seak
[Android Apps and Games] berserker_devel:
Thanks but it seems that there are some problems with characters, can you ensure to save in utf8?
[Android Apps and Games] User_99:
German language update.

Are there some new lines for latest version?

How can I test the new version with German language?

Password send per PM
[Android Apps and Games] berserker_devel:
Thanks for the update but there is no way for you to test it, sorry (well you can decompile the apk but I don't think you want to do it :)).

It will be integrated in the next version, what about the new release anyway?
[Android Apps and Games] User_99:
That's ok for me. :)
[Android Apps and Games] Seakoink:
Sorry, it wasn't.

Try this.
[Android Apps and Games] berserker_devel:
Thanks! It's ok now ;)
[Android Apps and Games] spoogedemon:
I recently looked for a nice ftp-server, so I bought the pro-version of FTPDroid yesterday. ;)

It is very nice, but I´d love to see the following features in the future:

- the autostart of ftp when there is a WiFi-connection available is nice. But it would be great to restrict this option to some networks, e.g. only when you are connected at the WiFi at home

- possibility to select the encoding

- possibility to select the folder, instead of writing it

- would be nice, when one can limit the bandwidth for each user

- restrict access to certain IP-addresses

- support for SSH-connections (SFTP)

- widget to start/stop the server

Not a long list, because it is almost perfect. ;)
[Android Apps and Games] [XP1]:
FTPDroid log spellcheck freeze

FTPDroid log spellcheck freeze

When I was uploading thousands of small files, I noticed that the log was getting bigger, and Android was lagging while trying to spellcheck the log (red underlining). Eventually, my device UI became unresponsive. I had to wait until the FTP transfer had completed, so I could clear the log.

Can you disable spellcheck on the log?

Can you make an option to limit the log size?

These links may help:

Android Ice Cream Sandwich Edittext: Disabling Spell Check and Word Wrap:

stackoverflow.com/questions/9011944/android-ice-cream-sandwich-edittext-disabling-spell-check-and-word-wrap

how to disable spell correction programmatically in android:

stackoverflow.com/questions/7330234/how-to-disable-spell-correction-programmatically-in-android
​

My device is HP TouchPad, running CM9-20130114 tenderloin, Android 4.0.4 Ice Cream Sandwich.
[Android Apps and Games] Mike231:
AW: [APP][2.2+] FTPDroid - Pure-FTPd ported to Android

I would like to use Llama to start/stop the server in a specific WLAN and on charging.

I can use android intents to make that work, but I have no idea what exactly I have to type in there.

Here is a Screenshot of that:

img46.imageshack.us/img46/2735/screenshot2013032211362.png

Can somebody help me?

Gesendet von meinem Galaxy Nexus mit Tapatalk
[Android Apps and Games] bflmpsvz:
Hi I have installed this and can't start it for some reason:

[ERROR] exit code error '127' (please reset options if the problem persists)

[ERROR] sh: <stdin>[1]: /data/data/berserker.android.apps.ftpdroidpro/bin/pure-ftpd: not found

Please help?

Sent from LT22i using Tapatalk 2
[Android Apps and Games] mr_precise:
Intermittent freeze on startup

ftpdroid Free 1.3.1

Samsung Galaxy S Blaze 4G

Android 4.0.4 stock build T769UVMB1 (latest)

About once every 5 or 10 starts ftpdroid freezes and never comes up: I have to force close it.

When it does come up it works perfectly.
[Android Apps and Games] berserker_devel:
2.0.0 beta published!!! (instructions on the first post to join the beta)

Changelog 2.0.0

complete UI rewrite!

sperimental x86/mips support

armeabi-v7a performance improvement

AdChecker removed

android.permission.ACCESS_SUPERUSER permission added

new option to enable/disable an ftp user

new option "autostart service"

new option "enable root"

new option "anonymous can read dotfiles"

new option "resolve hostname"

better home folder selection

no more adchecker (pro version has more features)

SSL/TLS support (pro version)

WiFi white list (pro version)

Transfers page (pro version)

Widget support (pro version)

​

From version 2.0.0 there won't be 2 separated version of FTPDroid: FTPDroidPro will be upgraded as "unlocker" of the app (and probably removed from the market in the future, the "pro" version then will be unlockable as in-app purchase).

Translation file updated to version 2.0.0 on the second post, please help me in translating the app :good:
[Android Apps and Games] defim:
Beta test is a great idea...

Can you please add some sort of setting migration/import/export for users of the pro version?
[Android Apps and Games] berserker_devel:
2.0.1 is now available on Google Play to all users :good:

Not yet sorry, I hope to have a look on it as soon as possible ;)
[Android Apps and Games] jazzruby:
I just downloaded/installed 2.0.1 but how do I get my pro features; I had already purchased FTPDroid Pro 1-2 years ago.

-JR-
[Android Apps and Games] berserker_devel:
Please keep the (old) pro version installed, reinstall again the new FTPDroid version and it should upgrade automatically to the pro at the first start (please let me know if it doesn't).
[Android Apps and Games] jazzruby:
Installed (old) pro version and started FTPDroid and it updated; Uninstalled (old) pro and all is good:good:

-JR-
[Android Apps and Games] jw473:
Previous version available?

Is the previous version of FTPDroid available for download somewhere?

2.0.1 causes my FTP sync program (BeyondCompare) to report an ftruncate error when it tries to overwrite an existing file. This was not a problem with the previous release.

Thanks.
[Android Apps and Games] berserker_devel:
I just replied to you by mail:

If I understand well you have an issue only in the case of a "file update" (when the file already exists) right? I didn't switch to another version of pureftpd so that sounds strange to me. Are you using an authenticated user on an anonymous user from BeyondCompare?
[Android Apps and Games] jw473:
As I mentioned in my email reply, I'm using authentication.

I just updated to 2.0.2 and the problem remains. I've emailed you a debug log from my FTP sync client, if that helps.
[Android Apps and Games] berserker_devel:
I managed to reproduce the problem (thanks for reporting!) but I haven't a workaround for that by now.

I hope to find a fix as soon as possible :good:

EDIT: fixed :) version 2.0.3 will be available soon!
[Android Apps and Games] defim:
[MENTION=3530620]berserker_devel[/MENTION]: After upgrading to Android 4.4.3 this app tells that server started, but you can do this unlimted times.

It does never start anymore
[Android Apps and Games] berserker_devel:
Thanks for reporting, I'll make some tests as soon as possible :good:
[Android Apps and Games] 78Staff:
Had same issue with Dev's SSHDroid Pro also after upgrade to 4.4.3, but it turned out to be SuperSU version, not the 4.4.3 upgrade. Reverting from SuperSU 1.99 versions back to 1.94 resolved the issue for both apps.
[Android Apps and Games] defim:
I've also SuperSU 1.99r3 installed with the Android update...
[Android Apps and Games] Moksu:
Hey,

Does this app support reconnection after timeout?
[Android Apps and Games] berserker_devel:
What do you mean? "Reconnection" is something client-side and not server-side (FTPDroid is a server).
[Android Apps and Games] Echelonblue:
Wich cert to use

dear dev

great app. I use it a lot

but to enable ssl I need a certificate.

normaly I create a self signed 2048b crt,pem or p12 rsa certificate. I tried multiple certificates and everytime the app responds with:

the selected file doesn't contain a valid ssl/tls certificate.

please tell me what i did wrong
[Android Apps and Games] 78Staff:
Posted in the SSHDroid thread, but it appears FTPDroid and SSHDroid have stopped working on any SuperSU version > 1.94. SambaDroid is still working, however.

http://xdaforums.com/showpost.php?p=53511562&postcount=368
[Android Apps and Games] berserker_devel:
Here it is a simple (tested) command to create a certificate:

openssl req -x509 -nodes -newkey rsa:1024 -keyout pure-ftpd.pem -out pure-ftpd.pem

Reply in SSHDroid thread
[Android Apps and Games] Echelonblue:
still no joy

Thx for you reply, but still got the same error.

I redownload the app and trie it again
[Android Apps and Games] wwj402:
Chinese (simplified) language update

Chinese (simplified) language update based on huzhfang
[Android Apps and Games] berserker_devel:
Thanks but the Google Play's translation files are not UTF8 encoded :(

Can you fix that please?
[Android Apps and Games] wwj402:
Chinese (simplified) language update/*.txt files encoding changed to utf-8

some translations modification and *.txt files encoding changed to utf-8
[Android Apps and Games] berserker_devel:
Thanks :good::good:
[Android Apps and Games] Alexey71:
norm
[Android Apps and Games] jw473:
I have the same issue. I just updated from 4.1.3 to 4.4.2, including updating to the latest SuperSU. FTPDroid would no longer stay running. Finding the post above, I reverted to SuperSU 1.94 and FTPDroid now works again.

But this doesn't seem like a good long term solution as the SuperSU app warns that I need a binary update...

This isn't a new problem -- the OP was back in June. Is this a problem with FTPDroid (for berserker_devel to fix) or with SuperSU (and I'll report there)?

Thanks.

---------- Post added at 05:46 PM ---------- Previous post was at 05:38 PM ----------

A separate issue after updating OS from 4.1.3 to 4.4.2 (and reverting SuperSU to 1.94 so FTPDroid will run): timestamps on uploaded files are no longer correct.

I'm in UTC-8:00 (phone and FTP client). I upload a file from my FTP client (BeyondCompare), and just to be sure have it touch the file. It logs the command as

SITE UTIME [file] 20150114070112 20150114070112 20150114070112 UTC

which is the correct UTC time (local time of file is 2015-01-13 23:01:12)

FTPDroid returns

250 UTIME OK

but when I refresh to view, FTPDroid returns

226-Options: -a -l
226 3 matches total
type=cdir;sizd=4096;modify=20150119010024;UNIX.mode=0770;UNIX.uid=0;UNIX.gid=1028;unique=15ga04bc; .
type=pdir;sizd=4096;modify=20150119003652;UNIX.mode=0771;UNIX.uid=0;UNIX.gid=1028;unique=15g9c001; ..
type=file;size=149102;modify=20150114150112;UNIX.mode=0770;UNIX.uid=0;UNIX.gid=1028;unique=15ga00d0; [file]

where 20150114150112 is what UTC for the file would be if the UTIME time, above (20150114070112) were local time. But it was specified as UTC.

This worked fine when I was running 4.1.3.

Thanks.
[Android Apps and Games] 78Staff:
I contacted the SuperSU Dev when SSHDroid/FTPDroid first starting having issues with recent updates... he did some testing and I'm paraphrasing but essentially found that both SSHDroid/FTPDroid wouldn't work right on a fair number of firmwares regardless of root access and SuperSU version.

FWIW, if FTPDroid is like SSHDroid even though it appears to be "starting and stopping", it actually is still running, the app just reports that it stopped and removed itself from the status bar - but is still accessible. *Sometimes* opening the app and killing it, then restarting will allow it to act normal, but it eventually will "stop" again - but still be accessible. Annoying, but useable...

Some things I've discovered over the past few months... as pro user of most of [MENTION=3530620]berserker_devel[/MENTION] apps...

No issues running with SuperUser - so if you aren't really tied to SuperSU you can use Superuser and should not have any issues.

Sometimes using port 2222 (ie, not root) instead of 22 for SSH. Obviously that doesn't help FTP users.

I've got SSHDroid 2.1.1 and FTPDroid 2.1.1 working on CM11 4.4.4 and current SuperSu 2.40 - on def root prots - but have no idea how. It originally exhibited the same start/stop behavior but recently started working as expected. Whether it was due to BusyBox Installer update (which I originally thought), or a CM nightly update, I'm not sure. But I'm almost afraid to touch it as the app does seem to break on any incremental rom or supersu upgrade :(. It literally works one week and not the next :(. I've found and alternative SSH/FTP app for 4.4.4 for when it doesn't work.

Conversely, I cannot get it them working on Nexus 7 2013, either with CM11 previously, nor CM12 with SuperSU. Same "start/stop" issues as everyone else. I *think* the dev is working on it, but not sure to be honest. For now I'm living with it on CM12, but hoping the dev can figure it out.

SambaDroid, unless something has changed recently, works without issue, other than timing out on larger files, which has been a limitation going back for some time.
[Android Apps and Games] jw473:
@ 78Staff: Thanks for the useful info. You're right: the FTPDroid service is still running, and I can transfer files. But the app isn't, and some of useful functions (like wifi lock) also don't work. (And there's the new timestamp tz offset problem I posted as well)

I tried switching from SuperSU to ChainDD's SuperUser, but I couldn't get the SuperUser binary to install (download of manifest fails). Also, SuperUser doesn't look to be actively developed. So I went back to SuperSU. (I'm running and happy with the standard Samsung ROM.)

I'm hoping berserker_dev will resolve this, but as it's been > 6 months I should probably start looking for another FTP server :(
[Android Apps and Games] dunghama123:
Support

:)
[Android Apps and Games] spuiqr:
[MENTION=3530620]berserker_devel[/MENTION]

I'm using Droidwall to prevent non necessery connections. But even when I checked ftpdroid as white list of droidwall, ftp server still can't connected from my computer, why? How can I use ftpdroid together with Droidwall?
[Android Apps and Games] berserker_devel:
Hi, what's your device and Android version? Is your device rooted?