[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transfering all types of files from one machine to another


On Thursday 05 February 2015 11:19:21 Caspar Romot wrote:
> Hello,
> 
> I am trying to implement libssh’s sftp api to copy all sorts of files from
> one machine to another via an ssh session. How would i go about it? As far
> as i can see looking at the sftp api there is only a way to create text
> files and read them. But what if i need to send .exe files for example? I
> dont need you to give me a full solution, just point me to the right
> direction please or link me an existing example. I’ll be looking forward to
> your answer.

Look at

tests/client/torture_sftp_read.c

it transfers an executable securely over the wire.


	-- andreas



References:
Transfering all types of files from one machine to anotherCaspar Romot <cro@xxxxxx>
Archive administrator: postmaster@lists.cynapses.org