Thanks. Here you go:

#8888 1319651553.00000 _init_transport: ssh cmd: ssh -p 22 -o NumberOf +PasswordPrompts=1 -o PreferredAuthentications=keyboard-interactive,pa +ssword -l country sftp.jackmorton.com -s sftp #8888 1319651554.00000 _queue_msg: queueing msg len: 5, code:1, id:3 . +.. [1] 00 00 00 05 01 00 00 00 03 + | ......... #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 9, syswrite: 9, max +: 65536, $!: 00 00 00 05 01 00 00 00 03 + | ......... #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 9, total read: 9, +$!: 00 00 00 05 02 00 00 00 03 + | ......... #8888 1319651554.00000 _get_msg: got it!, len:5, code:2, id:-, status: + - 02 00 00 00 03 + | ..... #8888 1319651554.00000 _rel2abs: 'to_country' --> 'to_country' #8888 1319651554.00000 _queue_msg: queueing msg len: 19, code:16, id:0 + ... [1] 00 00 00 13 10 00 00 00 00 00 00 00 0a 74 6f 5f 63 6f 75 6e 74 72 79 + | .............to_country #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 23, syswrite: 23, m +ax: 65536, $!: 00 00 00 13 10 00 00 00 00 00 00 00 0a 74 6f 5f 63 6f 75 6e 74 72 79 + | .............to_country #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 36, total read: 36 +, $!: 00 00 00 20 65 00 00 00 00 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 6 +8 20 66 69 6c 65 2e 00 00 | ... e............No such file... 00 02 65 6e + | ..en #8888 1319651554.00000 _get_msg: got it!, len:32, code:101, id:0, stat +us: 2 65 00 00 00 00 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 68 20 66 69 6 +c 65 2e 00 00 00 02 65 6e | e............No such file.....en #8888 1319651554.00000 _set_status: _set_status code: 2, str: No such +file. #8888 1319651554.00000 _set_error: _set_err code: 14, str: Couldn't ge +t realpath for remote 'to_country': No such file. #8888 1319651554.00000 _rel2abs: '.' --> '.' #8888 1319651554.00000 _rel2abs: '.' --> '.' #8888 1319651554.00000 _queue_msg: queueing msg len: 10, code:11, id:1 + ... [1] 00 00 00 0a 0b 00 00 00 01 00 00 00 01 2e + | .............. #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 14, syswrite: 14, m +ax: 65536, $!: 00 00 00 0a 0b 00 00 00 01 00 00 00 01 2e + | .............. #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 17, total read: 17 +, $!: 00 00 00 0d 66 00 00 00 01 00 00 00 04 00 00 00 00 + | ....f............ #8888 1319651554.00000 _get_msg: got it!, len:13, code:102, id:1, stat +us: - 66 00 00 00 01 00 00 00 04 00 00 00 00 + | f............ #8888 1319651554.00000 opendir: new remote dir '.' open, rid: 00 00 00 00 + | .... #8888 1319651554.00000 _queue_msg: queueing msg len: 13, code:12, id:2 + ... [1] 00 00 00 0d 0c 00 00 00 02 00 00 00 04 00 00 00 00 + | ................. #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 17, syswrite: 17, m +ax: 65536, $!: 00 00 00 0d 0c 00 00 00 02 00 00 00 04 00 00 00 00 + | ................. #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 124, total read: 1 +24, $!: 00 00 00 78 68 00 00 00 02 00 00 00 01 00 00 00 08 74 65 73 74 2e 74 7 +8 74 00 00 00 3f 2d 72 77 | ...xh............test.txt...?-rw 2d 72 77 2d 72 77 2d 20 20 20 31 20 75 73 65 72 20 20 20 20 20 67 72 6 +f 75 70 20 20 20 20 20 20 | -rw-rw- 1 user group 20 20 20 31 31 32 20 4f 63 74 20 32 35 20 32 30 3a 31 37 20 74 65 73 7 +4 2e 74 78 74 00 00 00 0f | 112 Oct 25 20:17 test.txt.... 00 00 00 00 00 00 00 70 00 00 00 00 00 00 00 00 00 00 81 b6 4e a7 19 3 +f 4e a7 19 3f | .......p............N..?N..? #8888 1319651554.00000 _get_msg: got it!, len:120, code:104, id:2, sta +tus: - 68 00 00 00 02 00 00 00 01 00 00 00 08 74 65 73 74 2e 74 78 74 00 00 0 +0 3f 2d 72 77 2d 72 77 2d | h............test.txt...?-rw-rw- 72 77 2d 20 20 20 31 20 75 73 65 72 20 20 20 20 20 67 72 6f 75 70 20 2 +0 20 20 20 20 20 20 20 31 | rw- 1 user group 1 31 32 20 4f 63 74 20 32 35 20 32 30 3a 31 37 20 74 65 73 74 2e 74 78 7 +4 00 00 00 0f 00 00 00 00 | 12 Oct 25 20:17 test.txt........ 00 00 00 70 00 00 00 00 00 00 00 00 00 00 81 b6 4e a7 19 3f 4e a7 19 3 +f | ...p............N..?N..? #8888 1319651554.00000 _queue_msg: queueing msg len: 13, code:12, id:3 + ... [1] 00 00 00 0d 0c 00 00 00 03 00 00 00 04 00 00 00 00 + | ................. #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 17, syswrite: 17, m +ax: 65536, $!: 00 00 00 0d 0c 00 00 00 03 00 00 00 04 00 00 00 00 + | ................. #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 35, total read: 35 +, $!: 00 00 00 1f 65 00 00 00 03 00 00 00 01 00 00 00 0c 45 6e 64 20 6f 66 2 +0 66 69 6c 65 2e 00 00 00 | ....e............End of file.... 02 65 6e + | .en #8888 1319651554.00000 _get_msg: got it!, len:31, code:101, id:3, stat +us: 1 65 00 00 00 03 00 00 00 01 00 00 00 0c 45 6e 64 20 6f 66 20 66 69 6c 6 +5 2e 00 00 00 02 65 6e | e............End of file.....en #8888 1319651554.00000 _set_status: _set_status code: 1, str: End of f +ile. #8888 1319651554.00000 _set_error: _set_err code: 29, str: Couldn't re +ad directory '.': End of file. #8888 1319651554.00000 _queue_msg: queueing msg len: 13, code:4, id:4 +... [1] 00 00 00 0d 04 00 00 00 04 00 00 00 04 00 00 00 00 + | ................. #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 17, syswrite: 17, m +ax: 65536, $!: 00 00 00 0d 04 00 00 00 04 00 00 00 04 00 00 00 00 + | ................. #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 31, total read: 31 +, $!: 00 00 00 1b 65 00 00 00 04 00 00 00 00 00 00 00 08 53 75 63 63 65 73 7 +3 2e 00 00 00 02 65 6e | ....e............Success.....en #8888 1319651554.00000 _get_msg: got it!, len:27, code:101, id:4, stat +us: 0 65 00 00 00 04 00 00 00 00 00 00 00 08 53 75 63 63 65 73 73 2e 00 00 0 +0 02 65 6e | e............Success.....en #8888 1319651554.00000 _close: closing file handle, return: 1, rid: 00 00 00 00 + | .... #8888 1319651554.00000 DESTROY: Net::SFTP::Foreign::DirHandle=GLOB(0xa +76d08)->DESTROY called (sftp: ) #8888 1319651554.00000 _rel2abs: 'test.txt' --> 'test.txt' #8888 1319651554.00000 _rel2abs: 'test.txt' --> 'test.txt' #8888 1319651554.00000 _queue_msg: queueing msg len: 17, code:17, id:5 + ... [1] 00 00 00 11 11 00 00 00 05 00 00 00 08 74 65 73 74 2e 74 78 74 + | .............test.txt #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 21, syswrite: 21, m +ax: 65536, $!: 00 00 00 11 11 00 00 00 05 00 00 00 08 74 65 73 74 2e 74 78 74 + | .............test.txt #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 36, total read: 36 +, $!: 00 00 00 20 65 00 00 00 05 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 6 +8 20 66 69 6c 65 2e 00 00 | ... e............No such file... 00 02 65 6e + | ..en #8888 1319651554.00000 _get_msg: got it!, len:32, code:101, id:5, stat +us: 2 65 00 00 00 05 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 68 20 66 69 6 +c 65 2e 00 00 00 02 65 6e | e............No such file.....en #8888 1319651554.00000 _set_status: _set_status code: 2, str: No such +file. #8888 1319651554.00000 _set_error: _set_err code: 19, str: Couldn't st +at remote file (stat): No such file. #8888 1319651554.00000 _rel2abs: 'test.txt' --> 'test.txt' #8888 1319651554.00000 _queue_msg: queueing msg len: 25, code:3, id:6 +... [1] 00 00 00 19 03 00 00 00 06 00 00 00 08 74 65 73 74 2e 74 78 74 00 00 0 +0 01 00 00 00 00 | .............test.txt........ #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 29, syswrite: 29, m +ax: 65536, $!: 00 00 00 19 03 00 00 00 06 00 00 00 08 74 65 73 74 2e 74 78 74 00 00 0 +0 01 00 00 00 00 | .............test.txt........ #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 36, total read: 36 +, $!: 00 00 00 20 65 00 00 00 06 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 6 +8 20 66 69 6c 65 2e 00 00 | ... e............No such file... 00 02 65 6e + | ..en #8888 1319651554.00000 _get_msg: got it!, len:32, code:101, id:6, stat +us: 2 65 00 00 00 06 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 68 20 66 69 6 +c 65 2e 00 00 00 02 65 6e | e............No such file.....en #8888 1319651554.00000 _set_status: _set_status code: 2, str: No such +file. #8888 1319651554.00000 _set_error: _set_err code: 2, str: Couldn't ope +n remote file 'test.txt': No such file. #8888 1319651554.00000 open: new remote file 'test.txt' open, rid: #8888 1319651554.00000 _rel2abs: 'test.txt' --> 'test.txt' #8888 1319651554.00000 _queue_msg: queueing msg len: 17, code:13, id:7 + ... [1] 00 00 00 11 0d 00 00 00 07 00 00 00 08 74 65 73 74 2e 74 78 74 + | .............test.txt #8888 1319651554.00000 _get_msg: waiting for message... [1] #8888 1319651554.00000 _do_io: _do_io connected: 1 #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io write queue: 21, syswrite: 21, m +ax: 65536, $!: 00 00 00 11 0d 00 00 00 07 00 00 00 08 74 65 73 74 2e 74 78 74 + | .............test.txt #8888 1319651554.00000 _do_io: _do_io select(-,-,-, undef) #8888 1319651554.00000 _do_io: _do_io read sysread: 36, total read: 36 +, $!: 00 00 00 20 65 00 00 00 07 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 6 +8 20 66 69 6c 65 2e 00 00 | ... e............No such file... 00 02 65 6e + | ..en #8888 1319651554.00000 _get_msg: got it!, len:32, code:101, id:7, stat +us: 2 65 00 00 00 07 00 00 00 02 00 00 00 0d 4e 6f 20 73 75 63 68 20 66 69 6 +c 65 2e 00 00 00 02 65 6e | e............No such file.....en #8888 1319651554.00000 _set_status: _set_status code: 2, str: No such +file. #8888 1319651554.00000 _set_error: _set_err code: 21, str: Couldn't de +lete remote file: No such file. #8888 1319651554.00000 DESTROY: Net::SFTP::Foreign=HASH(0x15ee3c)->DES +TROY called (current pid: 8888, disconnect_by_pid: ) #8888 1319651554.00000 disconnect: Net::SFTP::Foreign=HASH(0x15ee3c)-> +disconnect called (ssh pid: 8892) #8888 1319651554.00000 _conn_lost: _conn_lost

In reply to Re^4: Net::SFTP::Foreign stat Error by csftpteam
in thread Net::SFTP::Foreign stat Error by csftpteam

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.