Difference between revisions of "FTP"
From ArmadeusWiki
m (→Links) |
|||
Line 1: | Line 1: | ||
− | FTP (File Transfer Protocol) can easily be used on APF | + | FTP (File Transfer Protocol) can easily be used on APF/OPOS modules, either to transfer some files from/to elsewhere (== as client) or to provide files to others (== as server). |
− | ==FTP client== | + | ==FTP as client== |
<pre class="apf"> | <pre class="apf"> | ||
# ftpget | # ftpget | ||
# ftpput | # ftpput | ||
+ | </pre> | ||
+ | |||
+ | ==SFTP as client== | ||
+ | You will have to install OpenSSH package which provides ''sftp'' command: | ||
+ | <pre class="host"> | ||
+ | $ make menuconfig | ||
+ | </pre> | ||
+ | <pre class="config"> | ||
+ | Target packages ---> | ||
+ | ... | ||
+ | Networking applications ---> | ||
+ | ... | ||
+ | [*] openssh | ||
+ | </pre> | ||
+ | Reflash your rootfs, then: | ||
+ | <pre class="apf"> | ||
+ | # sftp | ||
</pre> | </pre> | ||
Line 13: | Line 30: | ||
</pre> | </pre> | ||
<pre class="config"> | <pre class="config"> | ||
− | + | Target packages ---> | |
− | [*] | + | ... |
+ | Networking applications ---> | ||
+ | ... | ||
+ | [*] proftpd | ||
</pre> | </pre> | ||
<pre class="host"> | <pre class="host"> | ||
Line 26: | Line 46: | ||
[http://en.wikipedia.org/wiki/Ftp| Wikipedia FTP article] | [http://en.wikipedia.org/wiki/Ftp| Wikipedia FTP article] | ||
− | [[Category:Network]] | + | [[Category:Network]][[Category:FTP]] |
Revision as of 16:29, 7 February 2018
FTP (File Transfer Protocol) can easily be used on APF/OPOS modules, either to transfer some files from/to elsewhere (== as client) or to provide files to others (== as server).
FTP as client
# ftpget # ftpput
SFTP as client
You will have to install OpenSSH package which provides sftp command:
$ make menuconfig
Target packages ---> ... Networking applications ---> ... [*] openssh
Reflash your rootfs, then:
# sftp
FTP server
Buildroot propose ProFTPD as standard FTP server. You can add it to your rootfs with:
$ make menuconfig
Target packages ---> ... Networking applications ---> ... [*] proftpd
$ make
- then reflash your rootfs
- ProFTPD will be automatically launched thanks to the /etc/init.d/S50proftpd script
- you can configure the server with: /etc/proftpd.conf