Community discussions

 
User avatar
lapsio
Member
Member
Topic Author
Posts: 465
Joined: Wed Feb 24, 2016 5:19 pm

Cannot scp rsc file to router

Sat Jul 06, 2019 11:45 pm

I can't seem to properly transfer .rsc file to device. When I perform:

scp ./file.rsc ac:/import.rsc

upload hangs at 100%. If i interrupt it and try to import file it fails with

bad command name 8 (line 1 column 1)

When I download uploaded file back to PC it has 1 additional line at the beginning:

8 file.rsc

Also some lines near end of file are missing
MTCNA, MTCRE, MTCINE
 
mkx
Forum Guru
Forum Guru
Posts: 2784
Joined: Thu Mar 03, 2016 10:23 pm

Re: Cannot scp rsc file to router

Sun Jul 07, 2019 11:13 am

I can scp a rsc file back and forth just fine.

Is there enough disk space on your RB? Lack of disk space would explain missing tail lines. Not the extra head line though ...
BR,
Metod
 
User avatar
lapsio
Member
Member
Topic Author
Posts: 465
Joined: Wed Feb 24, 2016 5:19 pm

Re: Cannot scp rsc file to router

Sun Jul 07, 2019 3:54 pm

It seems to be caused by fish shell for whatever reason. When using plain bash, scp to MikroTik works fine
MTCNA, MTCRE, MTCINE

Who is online

Users browsing this forum: No registered users and 85 guests