<?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 Re: Copying Files Between Windows and Linux using PuTTY in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145883#M103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm accesing to an Ubuntu system thru a Windows system using PSCP form PuTTY, but I need to get the last file created on a folder in the Ubuntu system.&lt;/P&gt;&lt;P&gt;For now this is the script what i have, but it retrieves &lt;STRONG&gt;all&lt;/STRONG&gt; the files on the unit_logs folder.:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set PATH=C:\Program Files (x86)\PuTTY;%PATH%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pscp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pscp &lt;A href="mailto:finaltest@192.168.1.26:unit_logs/"&gt;finaltest@192.168.1.26:unit_logs/&lt;/A&gt;* C:\Users\Zasil-Ha\Documents&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What should I do to get the last file created on that folder???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2014 16:54:50 GMT</pubDate>
    <dc:creator>zasilmedina</dc:creator>
    <dc:date>2014-06-23T16:54:50Z</dc:date>
    <item>
      <title>Copying Files Between Windows and Linux using PuTTY</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145880#M100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal"&gt;Here's a neat way to transfer files between your Windows PC and your Linux (Ubuntu) project using Ethernet.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;PuTTY is a program that connects one device to another over the network.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; It supports SSH and Telnet, among others.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNormal"&gt;PuTTY is a “client” application that talks to a “host”.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; The host must be running an SSH server (which is often the case for iMX Linux enabled systems).&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;A Windows version exists and this is ideal for transferring files between your Windows PC and a Linux Platform.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Download PuTTY here:&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;A href="http://www.chiark.greenend.org.uk/~sgtatham/putty/"&gt;http://www.chiark.greenend.org.uk/~sgtatham/putty/&lt;/A&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Select the Windows Installer version.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; This installs the programs and help files you will need.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;File transfers can be done using PSCP (Putty Secure CoPy) or by using PSFTP (Putty Secure File Transfer Protocol).&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;PSFTP can be launched from the Windows Start.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;PSCP must be launched from within a DOS box (Start&lt;SPAN&gt;Wingdings""&amp;gt;&lt;SPAN style="mso-char-type:symbol;mso-symbol-font-family:Wingdings"&gt;à&lt;/SPAN&gt;&lt;/SPAN&gt;Run and enter cmd, then press OK).&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; Before&lt;BR /&gt;running PSCP, you need to set the path variable.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; At the DOS command prompt, type&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="text-indent:.5in"&gt;set PATH=C:\Program Files\PuTTY&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;This assumes you installed PuTTY in C:\Program Files\PuTTY (default).&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; Note the “\” slash.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;This will only work for the lifetime of that particular console window. To set your PATH more permanently on Windows NT, 2000, and XP, use the Advanced tab of the System Control Panel (right-click on MyComputer&amp;nbsp;then select Properties).&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; Click the&amp;nbsp;Environment Variables button, high-light “path” and edit it.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; Add “;C:\Program Files\PuTTY” at the end of&lt;BR /&gt;the line.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; You can then verify the path&amp;nbsp;is correct by typing “path” at the DOS prompt.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;The format for pscp is straight forward:&lt;/P&gt;&lt;P class="MsoNormal" style="text-indent:.5in"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="text-indent:.5in"&gt;&lt;SPAN style="font-family:&amp;quot;Courier New&amp;quot;"&gt;pscp [options] source destination&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;To copy a Windows file to Linux system, at the DOS prompt, type&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="text-indent:.5in"&gt;&lt;SPAN style="font-family:&amp;quot;Courier New&amp;quot;"&gt;pscp c:/music.mp3&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; ubuntu@10.0.0.3:/home/ubuntu/Music&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P class="MsoNormal"&gt;which will copy the file music.mp3 to my Music folder into Linux.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; My Ubuntu EVK has an ip address as 10.0.0.3.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; (Note that you can use&amp;nbsp;either / or \ for the Windows files and directories, but you must use / when specifying&amp;nbsp;the Linux files.)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;The reverse works as well (copy Linux file to Windows)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="mso-tab-count:1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN style="font-family:&amp;quot;Courier New&amp;quot;"&gt;pscp ubuntu@10.0.0.3:/home/ubuntu/Music/music.mp3 c:/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;This copies the music.mp3 file from Linux into my C root directory.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;There are many other options available, including the ability to use the ftp protocol as well.&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; See the help file for more information.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 23:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145880#M100</guid>
      <dc:creator>bonzo</dc:creator>
      <dc:date>2010-07-08T23:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Files Between Windows and Linux using PuTTY</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145881#M101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the nice post.&lt;/P&gt;&lt;P&gt;I am working on the IMX53 Sabre Tablet, I want to transfer the files from my PC to the target. I used your procedure to send, but it is asking me for the password, where my target does not have the password option, if i type root as the username...it directly logs in. In this case how shall I use it.&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\&amp;gt;pscp c:/dummy.txt&amp;nbsp; root@10.246.77.178:/home/&lt;BR /&gt;root@10.246.77.178's password:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Swamy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 12:54:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145881#M101</guid>
      <dc:creator>Swamy</dc:creator>
      <dc:date>2011-12-16T12:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Files Between Windows and Linux using PuTTY</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145882#M102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it...we need to use something like this....&lt;/P&gt;&lt;P&gt;pscp -scp -pw root c:/dummy.txt root@192.168.10.2:/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also we need to provide passwd for the target...which is in my case root&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145882#M102</guid>
      <dc:creator>Swamy</dc:creator>
      <dc:date>2011-12-29T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Files Between Windows and Linux using PuTTY</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145883#M103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm accesing to an Ubuntu system thru a Windows system using PSCP form PuTTY, but I need to get the last file created on a folder in the Ubuntu system.&lt;/P&gt;&lt;P&gt;For now this is the script what i have, but it retrieves &lt;STRONG&gt;all&lt;/STRONG&gt; the files on the unit_logs folder.:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set PATH=C:\Program Files (x86)\PuTTY;%PATH%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pscp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pscp &lt;A href="mailto:finaltest@192.168.1.26:unit_logs/"&gt;finaltest@192.168.1.26:unit_logs/&lt;/A&gt;* C:\Users\Zasil-Ha\Documents&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What should I do to get the last file created on that folder???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 16:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Copying-Files-Between-Windows-and-Linux-using-PuTTY/m-p/145883#M103</guid>
      <dc:creator>zasilmedina</dc:creator>
      <dc:date>2014-06-23T16:54:50Z</dc:date>
    </item>
  </channel>
</rss>

