<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/02/2013 07:10 PM, Richard Mace
wrote:<br>
</div>
<blockquote
cite="mid:CAK+KT3-aX6gc9EgRY-w4ohyDxEOuiWxbyYxyQy2guxFrdYpNcQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><span
style="font-family:arial">On 2 August 2013 09:12, Michael
Schnell </span><span dir="ltr" style="font-family:arial"><<a
moz-do-not-send="true" href="mailto:mschnell@lumino.de"
target="_blank"
onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=mschnell@lumino.de&cc=&bcc=&su=&body=','_blank');return
false;">mschnell@lumino.de</a>></span><span
style="font-family:arial"> wrote:</span><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">On
08/01/2013 05:20 PM, Richard Mace wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
... as many of my users will have never even seen a
Linux command line before :)<br>
</blockquote>
<br>
What exactly are you up to?<br>
<br>
We still don't know how the targeted setup is supposed to
be.<br>
<br>
E.g.<br>
- a Windows computer in a company network that can access
a Linux box in the server room with the IT department
managing the installation of any software on trhe users
desktop<br>
- you send your software to a dummy user somewhere in the
world and he is supposed to install and run it and access
a Linux box via the Internet.<br>
<br>
</blockquote>
<div><br>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I need it
to be as standard and easy as possible to copy files to
and from a Windows box to a Linux server, one that has
been freshly built for the task., and would have
probably have been built by an IT gut that would be able
to make sure that SSH is configured through the
firewall.</div>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I'm
expecting that most of the time, the Linux box will be on
the local network, so ssh should be fine. If I went down
the samba, I would need additional configuration setup,
which could put barriers in the way of using my software
for no reason?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
With the first obviously CIFS (aka Samba) is the way to
go: Easy stuff, as you program just calls the file
operations provided by the RTL.<br>
<br>
With the second example "easy software" s not really
possible:<br>
- at best only your program should be installed and no
additional components such as Putty, VPN, dlls done in C,
... should be necessary to be installed and no manual
setup of SSH key should be necessary<br>
that means the complete protocol should be managed by
(Pascal) software<br>
- the user might sit behind a firewall that forbids any
protocol other than the use of of HTTP(S) and requires the
use of a proxy server.<br>
- if you need encryption (such as HTTPS) you supposedly
need an SSH key provider server (either locally on the
Linux box or "officially certified")<br>
<br>
In that case I recommend using http (or https) upload
(AFAIK, this is available with Synapse).<br>
Of course here you need to configure the Linux box to have
a HTTP server and provide the upload service.<span
class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-Michael<br>
</font></span></blockquote>
</div>
<br>
</div>
<div class="gmail_extra">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I have
currently got SSH working, by creating a TProcess in Lazarus
and calling pfstp to copy the file to and from the Linux
box, and the pslink to run a command on the Linux box.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<br>
</div>
</div>
</blockquote>
<br>
Where do "pfstp" and "pslink" come from ? <br>
<br>
It would be great to see these (or similar stuff) in TCP/IP
libraries such as Synapse. <br>
<br>
-Michael<br>
</body>
</html>