Thank You B.Goode,
Because as i told i am a very very beginner... and did not found any detailed documentation about sftp (i mean that under 'help' tab do a single search and no sftp, but i managed to find ftp docs linked abowe)SurferTim wrote: Why not use something secure, like sftp? It is installed by default. Uses SSH port.
I'm surprised no one has mentioned scp. Scp as its name implies (secure copy) acts much like the "cp" command. It is very simple to use and doesn't need to be installed. With a bit of configuration effort (two commands) you don't even need to give a password every time.
i just want to set up a kinda server which looks like:
"my group of people, called friends, from all over the country grab their total commander, type the little stuffs in ftp gadget, and then they get to my external HDD's defined folder with read and write permissions!"
The biggest difficulty for me in programming is that i dont see anything understandable in the command lines...B.Goode wrote: ↑Mon Oct 09, 2017 7:53 pm
We can't solve the requirement of "all over the country". That is out of the control of your RPi. It will most likely require modification to the configuration of your home broadband internet router. If you don't have administrator rights to that device, or the confidence to modify it, there might not be any point proceeding any further.
To tell the truth i dont really want to just copy the files to the pi's home folder cause the pi is working on a 8GBsd card. And my datas are tons above that sieze...jahboater wrote: I'm surprised no one has mentioned scp. Scp as its name implies (secure copy) acts much like the "cp" command. It is very simple to use and doesn't need to be installed. With a bit of configuration effort (two commands) you don't even need to give a password every time.
scp myfile pi@host:
copies "myfile" to the home directory of user pi on machine "host".
scp pi@host:/boot/config.txt .
copies the config.txt file on the Pi to the current directory of the PC you are on.
scp myfile pi@host:/media/pi/mysdcard
@jahboater has provided you with a simple example as a basis for your solution.So u say i should figure out everything for myself...
Please don't feel you are "entitled" to anything else, especially as this forum is free and answers come from volunteers.At this point, I'm going to let you think this over, but do definitely check out "man scp" and "man sshfs".