Tiny Core Linux
General TC => General TC Talk => Topic started by: Doktor Zeus on February 27, 2015, 07:32:37 AM
-
Hi All,
I have a TC VM which is working fine. I have used TC-Install to make it persistent, which also works fine, however I now need to copy a couple of small files to it to make it into what i need it for, however can not FTP to/from it.
Bearing in mind that I need to keep the footprint on the disk as small as possible, I need a way to do this.
Could someone please advise?
Also, relativly new to linux, so please bear in mind while you are no doubt a Linux genius, I dont have a clue so please explain in a "simple" way :-[
kind regards,
DZ
-
There are many ways to move files between TC and other machine depending on your environment VM, host OS, etc. You can install mc.tcz to have Midnight Commander. It is Swiss Army Knife for Linux with built-in ftp and sftp client. You can initiate transfer on TC to other machine. If you install and run openssh.tcz you can move files with sftp using a client on the other machine. If it is Windows, use, WINSCP. On Linux. mc is a good choice along with many others.
Dependong the VM to make SSH server available in TC from the host or remote machine can be a bit tricky.
-
Hi Doktor Zeus
If ftpget/ftpput are still included in busybox they might be worth looking at:
tc@box:~/findpcs/src/findpcs-v0.90$ ftpget --help
BusyBox v1.19.3 (2011-10-30 01:47:29 UTC) multi-call binary.
Usage: ftpget [OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE
Retrieve a remote file via FTP
-c,--continue Continue previous transfer
-v,--verbose Verbose
-u,--username Username
-p,--password Password
-P,--port Port number
tc@box:~/findpcs/src/findpcs-v0.90$
-
There are a number of FTP servers available, I usually use bftpd as it's both small and nice.