So in my infinite wisdom(and at the instructions of the higher ups...), I'm rebuilding that system with SFTP. I can reuse the majority of my previous FTP script but I can NOT get sftp to upload files. I haven't had any issues accessing the SFTP server from any other devices using the same credentials and the server shows the connection being authorized and authenticated in the system logs. I've tried many different flavors of syntax. I'm sure I'm missing something stupid just because I've been tinkering with this for too long. I've attached the commands I'm trying below.
Code: Select all
/tool fetch upload=yes url="sftp://[serverip]/Routerbackups/" user=sftp_user password=pwd src-path="localfile.rsc"
failure: closing connection: <no such file> 10.100.1.15:22 (10) (6)