LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2021, 02:02 PM   #1
adrian-jaramillo
LQ Newbie
 
Registered: Nov 2020
Location: Spain
Distribution: Debian 11
Posts: 27

Rep: Reputation: 1
Question How could I upload pictures and videos from Android phone to a remote directory on my Raspberry with Debian 10?


I have a Raspberry in my home network with Jellyfin installed, and I have a library for my mother's pictures and videos. I've had this constant complain from her running out of space in her phone again and again because she takes a lot of pictures and videos, and I thought of installing Jellyfin.

First problem is, the Jellyfin android app doesn't allow you to upload files to the server.

Well, I tried installing a Nextcloud server, but a Raspberry can't handle it, it's too heavy for its CPU. It runs extremely slow, so right now I've performed a complete uninstall of Nextcloud.

I've come to the conclusion I just want a simple tool for her to have an app in her phone, and just upload photos and videos to a specific directory in my raspberry, do you know any good (and lightweight if possible) way to do this?

It shouldn't be complicated, but I'm running out of ideas on which software to use.

Last edited by adrian-jaramillo; 10-11-2021 at 02:09 PM.
 
Old 10-11-2021, 03:47 PM   #2
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
Hi Adrian,

Will purchasing a used 4gb i3 500gb or even 250gb ssd be an option? If yes, you can install nextcloud on it. I have a Raspberry pi as well and attempted to use nextcloud; however, it ran extremely slow.

I cannot think of any other app that will allow you to do this right from your mother's phone.

Thank you
 
Old 10-11-2021, 04:45 PM   #3
adrian-jaramillo
LQ Newbie
 
Registered: Nov 2020
Location: Spain
Distribution: Debian 11
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ceantuco View Post
Will purchasing a used 4gb i3 500gb or even 250gb ssd be an option?
No, right now my setup is a Raspberry 4 + 2TB HDD.


Quote:
Originally Posted by ceantuco View Post
I cannot think of any other app that will allow you to do this right from your mother's phone.
I believe there are definitely options to maybe share a pictures directory in my network, and then access it with a file manager Android app that allows seeing network files. But as I cannot think of a single and specific server-client program to do this, that's why I ask here to get some ideas :/
 
Old 10-11-2021, 05:32 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
+1 adrian-jaramillo

why not use pcmanfm and a cable to connect to her android.

have a bookmark for her DCIM dir and then she can move files from her DCIM to another bookmark for your SSD?

IMHO its as simple as an app, the cut and paste from her phone to SSD achieves the same thing.
 
Old 10-11-2021, 06:00 PM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by adrian-jaramillo View Post
I have a Raspberry in my home network with Jellyfin installed, and I have a library for my mother's pictures and videos. I've had this constant complain from her running out of space in her phone again and again because she takes a lot of pictures and videos, and I thought of installing Jellyfin.

First problem is, the Jellyfin android app doesn't allow you to upload files to the server.

It shouldn't be complicated, but I'm running out of ideas on which software to use.
Take a look at "AndFTP" for your Android phone---it's a freebie on the Play Store. I use it all the time to download music onto my phone and to upload photos from my phone to my Linux desktop via the wifi router on our home LAN. If your Pi can be reached from your wifi router, you should have no trouble moving files between the two devices. I've given up on trying to use USB cables to move files between the two; too many confusing/maddening restrictions.

What I typically do:: Create a subdirectory on the computer -- say: /home/myname/FOTOS -- where you want to place the files. When the phone gets connected to the computer, switch to that folder. Then press on the little icon that looks like a phone and select the local files to be uploaded. Once you've uploaded the files to your computer, I'm guessing that it'll be a snap to import them into whatever application you want. (It's easier once you get the FTP application installed on your phone and can try it out than it is to explain it here. :^) )

Hope this helps...
 
1 members found this post helpful.
Old 10-12-2021, 09:48 AM   #6
adrian-jaramillo
LQ Newbie
 
Registered: Nov 2020
Location: Spain
Distribution: Debian 11
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by rnturn View Post
Take a look at "AndFTP" for your Android phone
FTP!! How could I have forgotten about it as a solution, you are right.

What I've done is:
  • On my Raspbbery: vsftpd with chroot, changing the home directory of my mother's ftp user to another location I needed
  • On my mother's phone: Install Cx Explorer to access FTP server (I didn't use AndFTP primarily because It won't show pictures' thumbnails, but Cx Explorer is able to do so, and in general is more average user friendly)

By doing so, now she can upload pictures and videos to the Raspberry, awesome.
 
Old 10-13-2021, 01:58 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by adrian-jaramillo View Post
vsftpd
Can't the Android app in question use standard sftp instead?
I have never used vsftpd, but some users here on LQ implied that it is significantly less secure than openssh's sftp (probably because it's based on ftp).
 
Old 10-13-2021, 02:14 AM   #8
adrian-jaramillo
LQ Newbie
 
Registered: Nov 2020
Location: Spain
Distribution: Debian 11
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ondoho View Post
Can't the Android app in question use standard sftp instead?
I have never used vsftpd, but some users here on LQ implied that it is significantly less secure than openssh's sftp (probably because it's based on ftp).
I haven't picked out vsftpd for a specific reason in mind really, It's just the one I know. I needed an FTP server, but I didn't really care about which one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Macast DLNA Media Renderer: Easily Cast Videos, Music And Pictures From A Phone To Your Computer LXer Syndicated Linux News 0 09-17-2021 11:15 AM
[fedora-30] howto get pictures, videos, music from android device with broken screen schneidz Linux - Mobile 6 07-17-2020 09:15 AM
[SOLVED] Phone unable to store media or take pictures/videos SpeedingRex Linux - Mobile 2 09-12-2017 02:54 AM
upload to debian from android phone with JuiceSSH dk201 Linux - Mobile 7 08-08-2014 05:33 AM
LXer: Pictures From T-Mobile's G1 Android Phone Press Conference LXer Syndicated Linux News 0 09-24-2008 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration