david_1234
Posts: 328
Joined: Mon Jan 01, 2018 2:14 pm

canbus netwroking using can-utils - need help saving file

Tue Jan 02, 2018 12:07 pm

Hello ,
I want to use the can-utils
now I can see he his saving me the file once every 4kb
how can I save the file in another directory ?
is there any why to change the can-utils setting?
change the name of the file ?

also I want to upload the files created into a FTP server
how can I do this ?

I ahve try using this simple ftp script

Code: Select all

#!/bin/sh
HOST='ftp.example.com'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'

ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
binary
put $FILE
quit
END_SCRIPT
exit 0
but he only enter the ftp status but doesn't connect ...

any idea?
any other way to do this ?
Thanks ,

Return to “Other projects”