SCP did not finish successfully () (Net::SCP::Error

Discussion in 'Ruby' started by Une Bévue, Jul 22, 2008.

  1. Une Bévue

    Une Bévue Guest

    after googleing upon that subject i've found questions without answer.

    the reason why i post here.

    i suspect the problem arroses when scp transfers a sole file having a
    size lower than the CHUNK one ?

    this is my experience the default value for the CHUNK being 2048 and i
    get that message for sile on the order of 500 bytes.

    at the contrary, if i do a recursive directory upload with most of the
    files being above 10 times the CHUNK, no prob at all.

    also, when the files are around 500 bytes they are well uploaded despite
    the error message.

    note that the speed might be of concern because i'm uploading into a
    microSD card of a mobile phone.

    any other did have experiment like that ?
    --
    Une Bévue
     
    Une Bévue, Jul 22, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    46,764
    fedceel
    Jan 16, 2011
  2. Phipps Xue
    Replies:
    0
    Views:
    285
    Phipps Xue
    Jan 9, 2004
  3. krabhi
    Replies:
    1
    Views:
    9,458
    Marco Meschieri
    Aug 9, 2006
  4. Daniel Waite
    Replies:
    2
    Views:
    247
    Daniel Waite
    May 2, 2008
  5. Tom Bak
    Replies:
    1
    Views:
    381
    Tom Bak
    May 29, 2008
Loading...

Share This Page