psftp as a static library?

From: hasani (guideveloper_at_gmail.com)
Date: 10/06/04


Date: 6 Oct 2004 00:29:42 -0700

Hello,
I am using putty in my ftp client and trying to use psftp for ssh. I
have successfully build a static library out of putty code(Only psftp
related). Now actually i am trying to do ssh server to ssh server
transfer using a client which connects individually to both the
servers. I am planning to move the code in files, psftp.h and psftp.c
in my application.

I would like to ask couple of questions here.
1. Is it possible to use putty the way i decribed i am trying to use.
Lib was made without any problems. But is the static library possible
or modifications are required.
2. Is there a way i can set the socket handle to be used for all the
communication.

I see three global variables in psftp.h shouldn't they be non static
or should i put them in a structure to make two connections to might
be different servers.
static Backend *back;
static void *backhandle;
static Config cfg;

I would also like to have comments, suggestions about issues of using
putty as a sftp client in my application.

Thank You.



Relevant Pages

  • Re: Remote Deskto Problem
    ... > openSSH or some ssh server will have to be running on his work pc, ... > then run putty or some other ssh client at the remote... ... >> Al Jarvi (MS-MVP Windows Networking) ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Putty + GSSAPI from W2k3 terminal server to linux openssh daemon
    ... Event Log: GSSAPI error: Unspecified GSS failure. ... The same ssh server works fine from a linux client with the same ... the problem is not your ssh server, its the putty client. ...
    (comp.protocols.kerberos)
  • Re: [SLE] Line characters in mc (Midnight Comander)
    ... I have had this same problem here when using putty. ... I need another good ssh ... suse 9.2 ssh server. ...
    (SuSE)
  • Re: Remote Deskto Problem
    ... then run putty or some other ssh client at the remote... ... SSH server running at the office because the RDC client is already ... > As far as port redirection is concerned, ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: pam/sshd question: allowing a user to try logging in more than once
    ... connecting from every other SSH client I tried gave the expected ... I mostly use PuTTY, ... so I hadn't even tried to connect from another client. ... It is PAM that generates these "Password:" lines, ...
    (Debian-User)