On the S10 phone I removed the SSH server and installed a FTP server.
And this works, apart from the fact that there is a problem with the directory where the photo's are.
On 09.02.2024 10:23, Fokke Nauta wrote:
On the S10 phone I removed the SSH server and installed a FTP server.
And this works, apart from the fact that there is a problem with the
directory where the photo's are.
I use "Primitive FTPd" as an FTP server and there was a similar
problem:
https://github.com/wolpi/prim-ftpd
|| To be able to allow 'All files access' an app must declare
|| android.permission.MANAGE_EXTERNAL_STORAGE in it's manifest file.
|| Google has a policy wether an app is allowed to declare that
|| permission and be published on Google Play. As you can see below
|| this app is considered as not compliant.
||
|| How can you use this server on your device to access your files?
||
||Â Â Â Â Install from f-droid
||Â Â Â Â Download from GitHub releases
I therefore installed the version from f-droid and that
works without any problem.
Herbert Kleebauer wrote:
https://github.com/wolpi/prim-ftpd
how do I dowwnload the f-droid server from Githup?
Fokke Nauta wrote:
Herbert Kleebauer wrote:
https://github.com/wolpi/prim-ftpd
how do I dowwnload the f-droid server from Githup?
<https://github.com/wolpi/prim-ftpd/releases/download/prim-ftpd-7.0/primitiveFTPd-7.0.apk>
Fokke Nauta wrote:
Herbert Kleebauer wrote:
https://github.com/wolpi/prim-ftpd
how do I dowwnload the f-droid server from Githup?
<https://github.com/wolpi/prim-ftpd/releases/download/prim-ftpd-7.0/primitiveFTPd-7.0.apk>
When I try to install it on the phone, I get this message (in Dutch, translated into English):
To install.
Function not supported.
This feature has been removed from the Play Store version of Total
Commander at Google's request.
Install a third party installer app from us or a third party.
I therefore installed the version from f-droid and that
works without any problem.
Thanks, but how do I dowwnload the f-droid server from Githup? I went
there but saw no solution.
Hi all,
We have two smartphones, a Samsung S10 and a Samsung A53. On both phones
I installed a SSH server. ón my pc (Windows 10 Pro) I have an FTP
client, CuteFTP 9.3. With this client I can make a connection with the
A53 phone, after starting up the SSH server. Very easy!
However, with the S10 phone it won't work. The same SSH server, a
different user name and password. If I try to make a connection, there
is an error.
I wrote it in usenet and got a lot of answers.
Thanks you all very much.
Now I'm almost there!
On the S10 phone I removed the SSH server and installed a FTP server.
And this works, apart from the fact that there is a problem with the directory where the photo's are.
I installed Total Commander File Explorer on the phone and found out
where the photo's are:
/storage/emulated/0/DCIM/Camera
I programmed this in my FTP client on the PC, but it comes with an error:
STATUS:> [07/02/2024 16:45:47] This site supports LANG.
COMMAND:> [07/02/2024 16:45:47] OPTS UTF8 on
[07/02/2024 16:45:47] 200 Command OPTS okay.
STATUS:> [07/02/2024 16:45:47] This site can resume broken downloads. COMMAND:> [07/02/2024 16:45:47] MODE Z
[07/02/2024 16:45:47] 200 Command MODE okay.
COMMAND:> [07/02/2024 16:45:47] REST 0
[07/02/2024 16:45:47] 350 Restarting at 0. Send STORE or
RETRIEVE to initiate transfer.
COMMAND:> [07/02/2024 16:45:47] CWD /storage/emulated/0/DCIM/Camera
[07/02/2024 16:45:47] 550 No such directory.
ERROR:> [07/02/2024 16:45:47] Requested action not taken (e.g.,
file or directory not found, no access).
What may be wrong?
With regards,
Fokke Nauta
Hi all,
We have two smartphones, a Samsung S10 and a Samsung A53. On both
phones I installed a SSH server. ón my pc (Windows 10 Pro) I have an
FTP client, CuteFTP 9.3. With this client I can make a connection with the A53 phone, after starting up the SSH server. Very easy!
However, with the S10 phone it won't work. The same SSH server, a
different user name and password. If I try to make a connection, there
is an error.
I wrote it in usenet and got a lot of answers.
Thanks you all very much.
Fokke Nauta wrote:
Hi all,
We have two smartphones, a Samsung S10 and a Samsung A53. On both
phones I installed a SSH server. ón my pc (Windows 10 Pro) I have an
FTP client, CuteFTP 9.3. With this client I can make a connection with the >> A53 phone, after starting up the SSH server. Very easy!
However, with the S10 phone it won't work. The same SSH server, a
different user name and password. If I try to make a connection, there
is an error.
I wrote it in usenet and got a lot of answers.
Thanks you all very much.
I am little confused by what you are doing but I am assuming you are trying to copy photographs from one phone to another. I would recommend if you
have not done so searching for Samsung Smart Switch and installing it. It will let you put the photograph files you want copy on your computer harddisk. Then connect the phone you want to place the files on to your computer through its USB cable. The phone will show up in File Explorer or Free Commander as Samsung S10 or A53 depending on which phone you connected. Then just copy the files from your computer to the DCIM folder on the receiving phone. I have done this before to add photographs to other
phones.
On 10/02/2024 00:22, Bill Bradshaw wrote:
Fokke Nauta wrote:
Hi all,
We have two smartphones, a Samsung S10 and a Samsung A53. On both
phones I installed a SSH server. ón my pc (Windows 10 Pro) I have an
FTP client, CuteFTP 9.3. With this client I can make a connection
with the A53 phone, after starting up the SSH server. Very easy!
However, with the S10 phone it won't work. The same SSH server, a
different user name and password. If I try to make a connection,
there is an error.
I wrote it in usenet and got a lot of answers.
Thanks you all very much.
I am little confused by what you are doing but I am assuming you are
trying to copy photographs from one phone to another. I would
recommend if you have not done so searching for Samsung Smart Switch
and installing it. It will let you put the photograph files you
want copy on your computer harddisk. Then connect the phone you
want to place the files on to your computer through its USB cable. The
phone will show up in File Explorer or Free Commander as Samsung
S10 or A53 depending on which phone you connected. Then just copy
the files from your computer to the DCIM folder on the receiving
phone. I have done this before to add photographs to other phones.
No, I just want to copy photo's from the phone to my pc.
Fokke
Hi all,
We have two smartphones, a Samsung S10 and a Samsung A53. On both phones
I installed a SSH server. ón my pc (Windows 10 Pro) I have an FTP
client, CuteFTP 9.3. With this client I can make a connection with the
A53 phone, after starting up the SSH server. Very easy!
However, with the S10 phone it won't work. The same SSH server, a
different user name and password. If I try to make a connection, there
is an error.
I wrote it in usenet and got a lot of answers.
Thanks you all very much.
Now I'm almost there!
On the S10 phone I removed the SSH server and installed a FTP server.
And this works, apart from the fact that there is a problem with the directory where the photo's are.
I installed Total Commander File Explorer on the phone and found out
where the photo's are:
/storage/emulated/0/DCIM/Camera
I programmed this in my FTP client on the PC, but it comes with an error:
STATUS:>Â Â Â Â Â [07/02/2024 16:45:47] This site supports LANG. COMMAND:>Â Â Â [07/02/2024 16:45:47] OPTS UTF8 on
       [07/02/2024 16:45:47] 200 Command OPTS okay. STATUS:>     [07/02/2024 16:45:47] This site can resume broken downloads.
COMMAND:>Â Â Â [07/02/2024 16:45:47] MODE Z
       [07/02/2024 16:45:47] 200 Command MODE okay.
COMMAND:>Â Â Â [07/02/2024 16:45:47] REST 0
       [07/02/2024 16:45:47] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
COMMAND:>Â Â Â [07/02/2024 16:45:47] CWD /storage/emulated/0/DCIM/Camera
       [07/02/2024 16:45:47] 550 No such directory. ERROR:>      [07/02/2024 16:45:47] Requested action not taken (e.g., file or directory not found, no access).
What may be wrong?
With regards,
Fokke Nauta
On 09/02/2024 13:40, Andy Burns wrote:
Fokke Nauta wrote:
Herbert Kleebauer wrote:
https://github.com/wolpi/prim-ftpd
how do I dowwnload the f-droid server from Githup?
<https://github.com/wolpi/prim-ftpd/releases/download/prim-ftpd-7.0/primitiveFTPd-7.0.apk>
When I try to install it on the phone, I get this message (in Dutch, translated into English):
To install.
Function not supported.
This feature has been removed from the Play Store version of Total
Commander at Google's request.
Install a third party installer app from us or a third party.
This feature has been removed from the Play Store version of Total
Commander at Google's request.
Install a third party installer app from us or a third party.
You can install first the f-droid app to install f-droid packages. https://en.wikipedia.org/wiki/F-Droid
It appears you are able to see the photographs on the phone from your computer but could not copy them to your computer. I can not copy to my "C" partition because Windows does like that (whom knows why - Paul?). I have
my computer partitioned and I can copy to one of the other partitions. You should try the Samsung Smart Switch program because it makes backups of the phone which can also be restored if there is a problem. The Smart Switch program may copy the files you want to the "C" partition and then you can copy or move them to the location you want. When I do this I get questions whether I want to allow access on both the phone and computer.
net use Z: \\192.168.0.whatever@port\MountPoint /USER:user1 mypasswd
Bill Bradshaw wrote on Sat, 10 Feb 2024 08:37:28 -0900 :
It appears you are able to see the photographs on the phone from your
computer but could not copy them to your computer. I can not copy
to my "C" partition because Windows does like that (whom knows why -
Paul?). I have my computer partitioned and I can copy to one of the
other partitions. You should try the Samsung Smart Switch program
because it makes backups of the phone which can also be restored if
there is a problem. The Smart Switch program may copy the files you
want to the "C" partition and then you can copy or move them to the
location you want. When I do this I get questions whether I want to
allow access on both the phone and computer.
Why not just mount the Android phone as a drive letter over Wi-Fi on
a PC? C:\> net use Z: \\192.168.0.whatever@port\MountPoint
/USER:user1 mypasswd
I do it every day.
That way scripts running on the PC have a consistent drive letter to
work with for every Android phone in the home (phone 1 = Z:, phone 2
= Y:, etc).
You can also do it with FTPUse but I prefer WebDAV for the reliability
but as far as I can tell, the main difference between them is the
port.
You can also do it with FTPUse but I prefer WebDAV for the reliability
but as far as I can tell, the main difference between them is the
port.
All I ever do is connect the Samsung A12 to a USB and then open up file manager and go to Samsung direstory DCIM and copy them to my computer.
The difference is I partition and all my data and photographs are
on my E: partition so I never had to copy to C.
Another answer might be to try to copy the files to a flash drive and then see if he can copy from the flash drive to where he wants the photographs.
I have not tried this because I have never had any complications copying files from my phone to my computer and also photographs I took with my
camera that are on my computer to the phone. What he wants to do can be performed without the complication of FTP.
All I ever do is connect the Samsung A12 to a USB and then open up file manager and go to Samsung direstory DCIM and copy them to my computer.
camera that are on my computer to the phone. What he wants to do can be performed without the complication of FTP.
All I ever do is connect the Samsung A12 to a USB and then open up file >manager and go to Samsung direstory DCIM and copy them to my computer.
It appears you are able to see the photographs on the phone from your computer but could not copy them to your computer. I can not copy to my "C" partition because Windows does like that (whom knows why - Paul?). I have
my computer partitioned and I can copy to one of the other partitions. You should try the Samsung Smart Switch program because it makes backups of the phone which can also be restored if there is a problem. The Smart Switch program may copy the files you want to the "C" partition and then you can copy or move them to the location you want. When I do this I get questions whether I want to allow access on both the phone and computer.
<Bill>
If I start the app "primitive ftpd" on my tablet, it displays
the used IP address (for example 192.168.178.97) and the used
port (default: 12345).
Bill Bradshaw wrote on Sat, 10 Feb 2024 08:37:28 -0900 :
It appears you are able to see the photographs on the phone from your
computer but could not copy them to your computer. I can not copy to my "C" >> partition because Windows does like that (whom knows why - Paul?). I have >> my computer partitioned and I can copy to one of the other partitions. You >> should try the Samsung Smart Switch program because it makes backups of the >> phone which can also be restored if there is a problem. The Smart Switch
program may copy the files you want to the "C" partition and then you can
copy or move them to the location you want. When I do this I get questions >> whether I want to allow access on both the phone and computer.
Why not just mount the Android phone as a drive letter over Wi-Fi on a PC?
net use Z: \\192.168.0.whatever@port\MountPoint /USER:user1 mypasswd
I do it every day.
That way scripts running on the PC have a consistent drive letter to work with for every Android phone in the home (phone 1 = Z:, phone 2 = Y:, etc).
You can also do it with FTPUse but I prefer WebDAV for the reliability
but as far as I can tell, the main difference between them is the port.
Good idea. Can you give me an example of how to do that?
Net use Z: \\192.168.1.160 (which port?) \Mountpoint /USER:slauf password Should that work?
Why not just mount the Android phone as a drive letter over Wi-Fi on a PC?
net use Z: \\192.168.0.whatever@port\MountPoint /USER:user1 mypasswd
Andrew wrote:
Why not just mount the Android phone as a drive letter over Wi-Fi on a
PC?
net use Z: \\192.168.0.whatever@port\MountPoint /USER:user1 mypasswd
You "just" have to install an SMB server first, of course ...
On 2/10/2024 12:37 PM, Bill Bradshaw wrote:
It appears you are able to see the photographs on the phone from your
computer but could not copy them to your computer. I can not copy
to my "C" partition because Windows does like that (whom knows why -
Paul?). I have my computer partitioned and I can copy to one of the
other partitions. You should try the Samsung Smart Switch program
because it makes backups of the phone which can also be restored if
there is a problem. The Smart Switch program may copy the files you
want to the "C" partition and then you can copy or move them to the
location you want. When I do this I get questions whether I want to
allow access on both the phone and computer.
<Bill>
The root level of some partitions, is "protected" against copying
like that.
C:\somefile.ext # Denied
C:\NewFolderName\somefile.ext # Allowed
The C: partition has historically had sensitive files in
the root, such as boot.ini, NTLDR, pagefile.sys and so on.
There may be some concern about "just blowing away" some
file while fooling around.
I run into this occasionally while doing Macrium Backups,
and I'm getting a denial on my attempt to start the MRIMG somewhere.
Locating a folder for the job, I'm more likely to succeed.
Paul
Why not just mount the Android phone as a drive letter over Wi-Fi on aYou "just" have to install an SMB server first, of course ...
PC?
net use Z: \\192.168.0.whatever@port\MountPoint /USER:user1 mypasswd >>
overlooked the @port, if that is @443 or @SSL then it'll use webDAV
All I ever do is connect the Samsung A12 to a USB and then open up file >>manager and go to Samsung direstory DCIM and copy them to my computer.
That's what I do, as well, except that I move the photos rather than copy them.
I don't think there's a faster or easier solution. Even my tech-challenged BIL
can manage it.
net use X: \\192.168.1.160@8080\DavWWWRoot /persistent
net use Y: \\192.168.1.161@8080\DavWWWRoot /persistent
net use Z: \\192.168.1.162@8080\DavWWWRoot /persistent
Char Jackson wrote on Sat, 10 Feb 2024 19:59:34 -0600 :<snip>
All I ever do is connect the Samsung A12 to a USB and then open up file >>>manager and go to Samsung direstory DCIM and copy them to my computer.
That's what I do, as well, except that I move the photos rather than copy them.
I don't think there's a faster or easier solution. Even my tech-challenged BIL
can manage it.
USB works just fine for something like 90% of your needs when you just want >to copy (or move) a file from Android to Windows (or the other way around).
But there are faster & easier solutions, if you set them up like I do.
Andy Burns wrote:
Why not just mount the Android phone as a drive letter over Wi-Fi on a >>>> PC?You "just" have to install an SMB server first, of course ...
net use Z: \\192.168.0.whatever@port\MountPoint /USER:user1 mypasswd >>>
overlooked the @port, if that is @443 or @SSL then it'll use webDAV
I think you stepped into a morass that I have never understood.
I like the idea of SMB but then we have to delve into how to set SMB/CIFs
up since you mentioned installing ab SMB "server" (not an SMB "client").
Since Windows already has a native SMB/CIFs server running all the time (AFAIK), did you mean to install an SMB "client" on non-rooted Android?
Or did you really mean to install an SMB "server" on rooted Android?
The reason is you don't get to pick the ports if you are not rooted when
you install an SMB "server" on Android, and yet Windows picked the ports.
So it won't work (if you had meant "server").
But it can work if you had meant "client").
Can you clarify as it might be nice to learn how to set up an SMB "client"
on Android that talks to the SMB "server" on Windows to share files over Wi-Fi on the LAN.
I like the idea of SMB but then we have to delve into how to set SMB/CIFs
up since you mentioned installing ab SMB "server" (not an SMB "client").
I have used the windows WebDAV client for synchronising files to/from an
FTP server, but the windows client seems able to find a new way to break every few months. but in general I'd say a webDAV server on the phone
ought to be simpler to setup than a CIFS/SMB server ... it will still
need storage permission for the same reason the SSH/FTP server needs it.
Since Windows already has a native SMB/CIFs server running all the time
(AFAIK), did you mean to install an SMB "client" on non-rooted Android?
Or did you really mean to install an SMB "server" on rooted Android?
I was thinking server on the android end, but WebDAV sounds easier than SMB.
The reason is you don't get to pick the ports if you are not rooted when
you install an SMB "server" on Android, and yet Windows picked the ports.
So it won't work (if you had meant "server").
But it can work if you had meant "client").
Can you clarify as it might be nice to learn how to set up an SMB "client" >> on Android that talks to the SMB "server" on Windows to share files over
Wi-Fi on the LAN.
Haven't tried that ...
I'm still confused, but let me state first my experience is I've set up all the free WebDAV "servers" on Android and most (if not all) of the free SMB "clients" on Android, and what is different mostly, is the SMB clients are often plugins to file explorers while WebDAV servers are standalone apps - and another thing that's different is Windows needs NOTHING to work with Android WebDAV servers but Windows needs sharing set up for SMB clients.
Here's what I'd recommend you do...
1. Install any free WebDAV server on Android, for example one of these.
https://play.google.com/store/apps/details?id=com.zq.webdav.app_free
https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver
https://play.google.com/store/apps/details?id=slowscript.httpfileserver 2. When you set it up, that determines the Windows "Net Use" arguments
For example, the default root is always "DavWWWRoot".
The default port is usually "8080".
There is no default user, so you can set that up to anything.
It doesn't have to be the user/password on Windows.
The IP address is whatever the phone's IP address is.
Generally if you do this every day, then you want it to be static.
3. Here's an example command assuming those arguments were set above.
net use Z: \\192.168.1.160@8080\DavWWWRoot
net use Z: \\192.168.1.160@8080\DavWWWRoot /USER:fake paswd
net use Z: \\192.168.1.160@8080\DavWWWRoot /USER:fake paswd /persistent
Net use Z: \\192.168.1.160 (which port?) \Mountpoint /USER:slauf password
Should that work?
a. The port is set up when you set up the free WebDAV server
b. The username & password are optional
c. But if that's what you set them up as, then that will work
There are lots of setup guides for doing this since WebDAV is the best
way (IMHO) to set up Android to be permanently mounted on Windows as a
drive letter (where the /persistent controls that permanence). https://www.google.com/search?q=mount+webdav+drive+letter+windows
Here are some that popped up from that search. https://powerfolder.atlassian.net/wiki/spaces/PF/pages/301876/Mounting+folders+via+WebDAV
https://www.airlivedrive.com/en/2019/11/04/how-to-conect-a-webdav-server-as-a-windows-drive/
https://serverfault.com/questions/690231/map-network-drive-to-a-webdav-server-via-powershell
There are lots of setup guides for doing this since WebDAV is the best
way (IMHO) to set up Android to be permanently mounted on Windows as a
drive letter (where the /persistent controls that permanence).
https://www.google.com/search?q=mount+webdav+drive+letter+windows
Here are some that popped up from that search.
https://powerfolder.atlassian.net/wiki/spaces/PF/pages/301876/Mounting+folders+via+WebDAV
https://www.airlivedrive.com/en/2019/11/04/how-to-conect-a-webdav-server-as-a-windows-drive/
https://serverfault.com/questions/690231/map-network-drive-to-a-webdav-server-via-powershell
Thanks very much. I installed a webdav server on the phone and it works!
Fokke Nauta wrote on Sat, 17 Feb 2024 15:31:05 +0100 :
There are lots of setup guides for doing this since WebDAV is the best
way (IMHO) to set up Android to be permanently mounted on Windows as a
drive letter (where the /persistent controls that permanence).
https://www.google.com/search?q=mount+webdav+drive+letter+windows
Here are some that popped up from that search.
https://powerfolder.atlassian.net/wiki/spaces/PF/pages/301876/Mounting+folders+via+WebDAV
https://www.airlivedrive.com/en/2019/11/04/how-to-conect-a-webdav-server-as-a-windows-drive/
https://serverfault.com/questions/690231/map-network-drive-to-a-webdav-server-via-powershell
Thanks very much. I installed a webdav server on the phone and it works!
Glad WebDav worked for you to mount Android as a drive letter on Windows. Nothing is as reliable as USB but you don't get a drive letter with USB.
If SMB wasn't so problematic overall, that would be probably a good choice.
I've tried every method possible, and for mounting Android to Windows
as a drive letter over Wi-Fi, there's nothing else more compatible.
There are other ways (for example, FTPUse) but WebDAV seems more reliable.
There are other ways (for example, FTPUse) but WebDAV seems more reliable.
Well, once again, thanks very much. I'm happy that this works, and I
learned again something. Didn't know about WebDav.
Fokke Nauta wrote on Sat, 17 Feb 2024 18:51:07 +0100 :
There are other ways (for example, FTPUse) but WebDAV seems more reliable. >>Well, once again, thanks very much. I'm happy that this works, and I
learned again something. Didn't know about WebDav.
Glad it worked - but did you use DavWWWRoot or an Android directory?
I've always had syntactical problems specifying Android file specs
so I've always given up by mounting its root instead of a deeper folder.
As for the other ways, here are instructions for FTPUse for those who wish
to try it out, but if you've mounted with WebDAV already, no need for this. https://www.ferrobackup.com/map-ftp-as-disk.html
For others to take a look at, these are other mounting solutions I tested. NetDrive http://netdrive.net/
SFTPNetDrive https://www.nsoftware.com/sftp/netdrive/
DirectNetDrive http://www.directnet-drive.net/
MTPDrive http://mtpdrive.com/download.html
LibMTP https://sourceforge.net/projects/libmtp/
FTPDrive http://www.killprog.com/fdrve.html
WebDrive https://webdrive.com/download/
And probably a few other methods I've tested, as that's all from memory.
I wish I could find a good Android SMB to Windows tutorial as CIFs is just about the only possible solution out there that has a chance to be better.
The reason I have so much trouble setting up a basic SMB client on Android
to work with the native Windows CIFs server is I don't know Windows well.
Glad it worked - but did you use DavWWWRoot or an Android directory?
Yes, I used DavWWWRoot. And no password.
Once again, thanks for the information.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 81:37:46 |
Calls: | 8,359 |
Calls today: | 4 |
Files: | 13,162 |
Messages: | 5,896,003 |