09-26-2005 09:12 AM - edited 03-10-2019 01:39 AM
I need to copy a new sensorapp file to the root usr directory and I don't know how to get the file from my laptop to the destination.
09-26-2005 11:34 AM
Here are some options:
1) Copy your file from 1.2.3.4 SSH server to the sensor svc acct using SCP. From sensor svc acct prompt, run:
scp user@1.2.3.4:/home/user/remote_file local_file
2) Use an scp client on your PC (there are free clients that you can download) to copy the file to the /home/service on the sensor. From PC cmd prompt, run:
pscp file service@1.2.3.4:file
3) Use ftpget utility from sensor to get file from 1.2.3.4 ftp server. From sensor svc acct prompt, run:
ftpget -u
4) Use curl utility from sensor to get file from 1.2.3.4 ftp server. From sensor svc acct prompt, run:
curl --data-binary --get --output local_file ftp://user@1.2.3.4/incoming/remote_file
09-28-2005 05:03 AM
Thank you! I downloaded winscp and that did the trick.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide