[mc] Strange behavior of ftp vfs

Jörg Thümmler listen at vordruckleitverlag.de
Fri Aug 18 07:27:22 UTC 2023


Am 06.08.23 um 18:54 schrieb mi via mc:
> I just want to add to this old thread, that there were some issues with Android 13 and probably some earlier (can't remember) when access for folders (not the general FS access) has to be explicitly granted for apps other then system apps.
> These apps need to go by the system Storage Access Framework now to get that permission explicitly first. Meaning you have to give clearance.
> I don't know about commandline ftp but my android ftp server then needed a one-time permission for 'home' folder and i cannot change into another one (except subfolders) with client app. A cd will not barf but has no effect.
> Also, the path to storage chip "/" had changed at some point, i had to update to /storage/emulated/0.
> 
> 
>> today i noticed a strange behavior of the ftp vfs of mc (4.8.22 here),
>> maybe someone can explain.
>> I connected to the wifi ftp server of my phone, as i did often before:
>>
>> ftp account: android at 192.168.0.242:2221
>>
>> I was able to see the directories and change to the one i wanted to,
>> tried to put some files to my local directory. Mc said: can't read the
>> file, no rights to do so. I reconnected three times, all the same. Third
>> time i tipped Enter key on one of the (picture) files. Ftpvfs began to
>> load the file (counts up the bytes) and when finished, started gwenview
>> and showed the picture, could save it from there to my local disk. Strange.
>> Started plain ftp on cmdline for the account, went to the directory, ls
>> the files, all of r--r--r-- rights. No problem to download them to my
>> local disk. Tried to do so by mc oncemore: no rights.
>>
>> The ony reason i can think of is that the bandwith of the wifi here is a
>> bit poor because of some iron between me and the AP. But why did load
>> the ftp vfs the picture then, when clicked?
>>
>> --
>> cu
>>
>> jth
>> --
>> mc mailing list
>> mc at lists.midnight-commander.org
>> https://lists.midnight-commander.org/mailman/listinfo/mc
> 

Hi,

interesting... my phone is android 6 still ;-) ... but this doesn't 
explain, that the thing works with plain linux ftp command but not with 
mc...

-- 
cu

jth


More information about the mc mailing list