Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
SuggestionDelete an edited answer Pin
agent_kruger18-Jan-14 2:28
professionalagent_kruger18-Jan-14 2:28 
GeneralRe: Delete an edited answer Pin
Richard MacCutchan18-Jan-14 4:15
mveRichard MacCutchan18-Jan-14 4:15 
GeneralRe: Delete an edited answer Pin
thatraja18-Jan-14 4:21
professionalthatraja18-Jan-14 4:21 
GeneralRe: Delete an edited answer Pin
agent_kruger18-Jan-14 18:18
professionalagent_kruger18-Jan-14 18:18 
QuestionLINQ Query Grouping Pin
eddieangel17-Jan-14 13:20
eddieangel17-Jan-14 13:20 
AnswerRe: LINQ Query Grouping Pin
OriginalGriff17-Jan-14 20:23
mveOriginalGriff17-Jan-14 20:23 
GeneralRe: LINQ Query Grouping Pin
eddieangel20-Jan-14 6:23
eddieangel20-Jan-14 6:23 
QuestionC# tamir sharp ssh, scp incomplete file transfer Pin
Michael Gaida16-Jan-14 6:03
Michael Gaida16-Jan-14 6:03 
Hi,

i'm currently developing an application that uses tamir sharp ssh for file transfer

http://www.tamirgal.com/blog/page/SharpSSH.aspx[^].

I created a datalayer, that references the tamir sharp ssh dll (version 1.1.13).

I'm using the asynchronous method

scp.From(sourceFileName, destFileName);


to receive a file from a remote server.

and i have also registered an appropriate event callback

scp_OnEnd(string sourceFile, string destinationFile, int transferredBytes, int totalBytes, string message)


this callback is triggered after a transfer was completed by the scp.From method.

The methods scp.From(..) works fine, for file sizes like 1MB. If i use files larger than 10MB than, the file is not transferred completely. Actually it's a zip file, and 99% of the file is transferred, only a few bytes are always missing. Mostly i'm missing between 1k and 3k bytes - depending on the total file size. If i try to open the file with a zip-tool it complains about an unexpected end of the archive.

does anyone have experienced a similar behavior?
Does anyone have an idea what could cause this issue?

Is there maybe a free alternative to this c# library?

Thanks,

Regards,

Michael
AnswerRe: C# tamir sharp ssh, scp incomplete file transfer Pin
Eddy Vluggen18-Jan-14 0:58
professionalEddy Vluggen18-Jan-14 0:58 
GeneralRe: C# tamir sharp ssh, scp incomplete file transfer Pin
Michael Gaida27-Jan-14 2:23
Michael Gaida27-Jan-14 2:23 
QuestionProblem with shuffling array elements and displaying them Pin
Member 1052812316-Jan-14 2:36
Member 1052812316-Jan-14 2:36 
AnswerRe: Problem with shuffling array elements and displaying them Pin
Eddy Vluggen16-Jan-14 3:03
professionalEddy Vluggen16-Jan-14 3:03 
GeneralRe: Problem with shuffling array elements and displaying them Pin
Member 1052812317-Jan-14 3:53
Member 1052812317-Jan-14 3:53 
AnswerRe: Problem with shuffling array elements and displaying them Pin
BillWoodruff16-Jan-14 4:03
professionalBillWoodruff16-Jan-14 4:03 
GeneralRe: Problem with shuffling array elements and displaying them Pin
CPallini16-Jan-14 21:43
mveCPallini16-Jan-14 21:43 
AnswerRe: Problem with shuffling array elements and displaying them Pin
OriginalGriff16-Jan-14 8:31
mveOriginalGriff16-Jan-14 8:31 
GeneralRe: Problem with shuffling array elements and displaying them Pin
BillWoodruff16-Jan-14 17:33
professionalBillWoodruff16-Jan-14 17:33 
GeneralRe: Problem with shuffling array elements and displaying them Pin
OriginalGriff16-Jan-14 19:51
mveOriginalGriff16-Jan-14 19:51 
AnswerRe: Problem with shuffling array elements and displaying them Pin
BillWoodruff16-Jan-14 19:41
professionalBillWoodruff16-Jan-14 19:41 
AnswerMessage Closed Pin
16-Jan-14 22:43
harold aptroot16-Jan-14 22:43 
GeneralRe: All of the above is actually wrong Pin
CPallini16-Jan-14 23:38
mveCPallini16-Jan-14 23:38 
QuestionDIfference between Q/A and Discussion? Pin
agent_kruger16-Jan-14 1:43
professionalagent_kruger16-Jan-14 1:43 
AnswerRe: DIfference between Q/A and Discussion? Pin
Richard MacCutchan16-Jan-14 2:10
mveRichard MacCutchan16-Jan-14 2:10 
AnswerRe: DIfference between Q/A and Discussion? PinPopular
BillWoodruff16-Jan-14 6:02
professionalBillWoodruff16-Jan-14 6:02 
GeneralRe: DIfference between Q/A and Discussion? Pin
agent_kruger16-Jan-14 23:38
professionalagent_kruger16-Jan-14 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.