You are getting a password prompt. That means that scp is installed locally and the Linux system is responding.

The error here is that your Windows system says that the file you're trying to copy is not found.

It could also be a permissions issue. Check that the user you're using scp with can actually open the document.

Observe:

steve@maezi ~/scratch/scp_test >ll total 0 drwxr-xr-x 2 steve staff 64 11 Jan 15:20 . drwxr-xr-x 14 steve staff 448 11 Jan 15:20 .. steve@maezi ~/scratch/scp_test >scp blah.txt cesium:/home/steve blah.txt: No such file or directory steve@maezi ~/scratch/scp_test >touch blah.txt steve@maezi ~/scratch/scp_test >ll total 0 drwxr-xr-x 3 steve staff 96 11 Jan 15:22 . drwxr-xr-x 14 steve staff 448 11 Jan 15:20 .. -rw-r--r-- 1 steve staff 0 11 Jan 15:22 blah.txt steve@maezi ~/scratch/scp_test >scp blah.txt cesium:/home/steve blah.txt 100% 0 0. +0KB/s 00:00

In reply to Re: (OT) Copying files from Window to Linux box by stevieb
in thread (OT) Copying files from Window to Linux box by perlynewby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.