[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ssh_scp_push_directory return error
[Thread Prev] | [Thread Next]
- Subject: ssh_scp_push_directory return error
- From: SIE <kensou.sie.503@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 8 Feb 2012 18:28:33 +0800
- To: libssh@xxxxxxxxxx
i want to scp a dir to remote here's the dir tree dirA |__file1 |__dirB i create scp session scp = ssh_scp_new(my_session, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, [remotePath UTF8String]); then ssh_scp_push_directory dirA return success, and managed to push_file file1 however, when comes to push_directory dirB it return this error: error ssh_scp_push_directory called under invalid state what does this mean?i was confused..... thanks. -- #apt-get install wife The following extra packages will be installed: wife-house wife-car wife-friends wife-dog wife-mother_in_law wife-kid wife-no_more_tv_sports wife-kidlibs wife-bricomanialibs The following packages will be upgraded:ego-restrainer freedom-throttler Estimated installation time: 47 years Do you want to continue [Y/n]?
Re: ssh_scp_push_directory return error | SIE <kensou.sie.503@xxxxxxxxx> |