<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic &amp;quot;File transfer failed!&amp;quot; when using SCP to transfer files to CN1610 in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-File-transfer-failed-quot-when-using-SCP-to-transfer-files-to-CN1610/m-p/154415#M34610</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I was stumped when getting "File transfer failed!" using SCP to transfer files to a CN1610 switch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, I fixed the problem with the firewall.&lt;/P&gt;
&lt;P&gt;Second, I added the required second slash at the beginning of the source path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could SCP the same file from a linux host with no issue, but on the switch still no success!&lt;/P&gt;
&lt;P&gt;Here is the command and output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;(clus-sw2) #copy scp://userxx@longdomainname.company.com@12.123.123.123//var/tmp/test.scr nvram:script test.scr&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Remote Password:**************&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Mode........................................... SCP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Set Server IP.................................. 12.123.123.123&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Path........................................... //var/tmp/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Filename....................................... test.scr&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data Type...................................... Config Script&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Destination Filename........................... test.scr&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Management access will be blocked for the duration of the transfer&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Are you sure you want to start? (y/n) y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SCP Configuration Script transfer starting...&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;File transfer failed!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 11:18:54 GMT</pubDate>
    <dc:creator>renton</dc:creator>
    <dc:date>2025-06-04T11:18:54Z</dc:date>
    <item>
      <title>"File transfer failed!" when using SCP to transfer files to CN1610</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-File-transfer-failed-quot-when-using-SCP-to-transfer-files-to-CN1610/m-p/154415#M34610</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I was stumped when getting "File transfer failed!" using SCP to transfer files to a CN1610 switch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, I fixed the problem with the firewall.&lt;/P&gt;
&lt;P&gt;Second, I added the required second slash at the beginning of the source path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could SCP the same file from a linux host with no issue, but on the switch still no success!&lt;/P&gt;
&lt;P&gt;Here is the command and output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;(clus-sw2) #copy scp://userxx@longdomainname.company.com@12.123.123.123//var/tmp/test.scr nvram:script test.scr&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Remote Password:**************&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Mode........................................... SCP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Set Server IP.................................. 12.123.123.123&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Path........................................... //var/tmp/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Filename....................................... test.scr&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data Type...................................... Config Script&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Destination Filename........................... test.scr&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Management access will be blocked for the duration of the transfer&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Are you sure you want to start? (y/n) y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SCP Configuration Script transfer starting...&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;File transfer failed!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:18:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-File-transfer-failed-quot-when-using-SCP-to-transfer-files-to-CN1610/m-p/154415#M34610</guid>
      <dc:creator>renton</dc:creator>
      <dc:date>2025-06-04T11:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: "File transfer failed!" when using SCP to transfer files to CN1610</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-File-transfer-failed-quot-when-using-SCP-to-transfer-files-to-CN1610/m-p/154416#M34611</link>
      <description>&lt;P&gt;Eventually figured out that with the domain name included it was too long. Removed the unnecessary part of the domain name and then it worked:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;(clus-sw2) #copy scp://userxx@longdomainname@12.123.123.123//var/tmp/test.scr nvram:script test.scr&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Remote Password:**************&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Mode........................................... SCP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Set Server IP.................................. 12.123.123.123&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Path........................................... //var/tmp/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Filename....................................... test.scr&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data Type...................................... Config Script&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Destination Filename........................... test.scr&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Management access will be blocked for the duration of the transfer&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Are you sure you want to start? (y/n) y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SCP Configuration Script transfer starting...&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="courier new,courier"&gt;Validating configuration script...&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 05:34:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-File-transfer-failed-quot-when-using-SCP-to-transfer-files-to-CN1610/m-p/154416#M34611</guid>
      <dc:creator>renton</dc:creator>
      <dc:date>2020-02-19T05:34:57Z</dc:date>
    </item>
  </channel>
</rss>

