jerry: If your main computer is Linux, then you can cp across computers with a common network connection,
But if your main computer is Windows, for small to medium amounts of data ... I find an easy way is to cd to where you want to create the file. then nano test.txt then copy the contents of the source file in a windows text editor into the copy buffer then paste it into nano inside of putty. Control-X to exit, Yes to save In the reverse direction, cat the text file you want to export, copy in putty and paste into a suitable file inside of windows. For larger amounts of data/files, you could put on a uSD card with a FAT file system and mount it in either a Windows computer or a Linux, moving the uSD card back and forth. Or put the files/data on a USB stick formatted with FAT file system, then move the USB stick back and forth. --- Graham == On Monday, July 8, 2019 at 6:58:00 PM UTC-5, jerry...@gmail.com wrote: > > > Connected to BBB using tty specifically putty > > logged and ls -a give me directory infor. > > Trying to upload a file "test.txt" to the BBB from my local computer > > Tried all these. nothing works. What stupid mistake am I making? > > Putty is running in the directory that "test.txt" resides. > the directory testing exists in the root on the BBB. I see it with ls -a > I can cd to it and find no files in it. As it should be. > > I try unsuccessfully to upload a file to it. What am I doing wrong? > > root@beaglebone:~/testing# cp test.txt test.txt > > cp: cannot stat 'test.txt': No such file or directory > > > root@beaglebone:~/testing# cp C:\Users\Administrator\Desktop\test.txt > /root/testing/test.txt > > -bash: AdministratorDesktoptest.txt: command not found > cp: missing destination file operand after 'C:Users' > Try 'cp --help' for more information. > > > root@beaglebone:~/testing# cp > 192.168.13.104:\Users\Administrator\Desktop\test.txt > /root/testing/test.txt > > cp: cannot stat '192.168.13.104:UsersAdministratorDesktoptest.txt': No > such file or directory > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/fe961adf-ded1-48a0-87ae-d5de1cdd1792%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.