We have moved to a new Sailfish OS Forum. Please start new discussions there.
31

Add sFTP account

asked 2014-12-30 23:02:34 +0200

hongakonga gravatar image

updated 2015-01-29 15:41:23 +0200

jiit gravatar image

Even that the good old days are over and clouds are on everybody's mind. What do think about the possibility to add an "ftp account"?

Ideas for Options:

  1. configure upload directory for camera photos
  2. extended memory for files
  3. backup drive
  4. automatic file sync
edit retag flag offensive close delete

Comments

8

I have always believed in the standards, developed protocols, etc.

Unfortunately, people continue to believe in google, dropbox, OneDrive

scribe ( 2014-12-30 23:34:42 +0200 )edit
2

@hongakonga: An FTP server is a cloud as well. ;)

I support your suggestion. FTP is certainly a good idea.

ossi1967 ( 2014-12-31 11:09:23 +0200 )edit
1

My wife demands one. Cargo Dock would be the perfect place. :)

rob_kouw ( 2014-12-31 14:16:53 +0200 )edit
5

@hongakonga: please do not use FTP, because of unencrypted password and user names. When using FTP, please ask for FTPS or SFTP.

To your Ideas: 1. An upload option in the backup settings would be nice (this inclueds camera photos), maybe even scheduled. 2. SD card should be big enough 3. see point 1 4. FTP is not an good protocol to sync files. There are other solutions like BitTorrent Sync.

Stephan ( 2014-12-31 16:56:21 +0200 )edit

SFTP already works perfectly when developer mode is enabled. Plain FTP should not be an option.

Tanghus ( 2014-12-31 21:20:41 +0200 )edit

2 Answers

Sort by » oldest newest most voted
7

answered 2015-01-01 13:03:52 +0200

salarelv gravatar image

Maybe it would be nice to have a general backup API. Developers could add services like sFTP etc. That way the UI is general for all backup solutions.

edit flag offensive delete publish link more
4

answered 2015-01-01 11:02:56 +0200

juiceme gravatar image

There's no need to add any new account for it to work, as sftp (and scp, rsync and ssh) already exist in the device.

The easiest way is to use cron to trigger rsync of your desired data to your home server periodically, or you can use something like my cloudsync.sh (http://talk.maemo.org/showthread.php?t=89875) to automatically sync your pictures to your server the moment you take the picture :)

edit flag offensive delete publish link more

Comments

7

Thank you for your reply. Why is an additional account not necessary? How can I configure it via my phone GUI? And no, a configuration via shell or script is not a appropriate solution ;-)

hongakonga ( 2015-01-01 11:16:19 +0200 )edit

Yes, you are correct there, it does require you to log in the device shell to do it, but after that it is automatic and you do not need to ever do it again, if you so choose.

Creating a GUI application for such a small task is an overkill IMHO, it is so easy (and of course fun!) to do it in shell :)

juiceme ( 2015-01-01 11:44:35 +0200 )edit

@juiceme, there is already a GUI shell for ping in the harbour. That is even more pointless :)

pichlo ( 2015-01-02 00:36:09 +0200 )edit

If its in the harbour it's not pointless! ;) Also, having an additional user will not get you rid of the shell. If you are asking for an SFTP server application, that is then a different issue.

tortoisedoc ( 2015-01-02 12:47:23 +0200 )edit

@juiceme Just got my Jolla and trying to get automatic file uploads (for instance photos). I use pyinotify on my webserver to trigger build-scripts when Dropbox updates. Do you know of a simpler soloution for sailfish-os? Also: How do you get arround the issue of cron-tasks or systemd timed-services not starting because of the phone beeing asleep?

silvester ( 2015-02-08 23:59:36 +0200 )edit
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2014-12-30 23:02:34 +0200

Seen: 829 times

Last updated: Jan 01 '15