1824977 Members
3803 Online
109678 Solutions
New Discussion юеВ

Tectia SFTP

 
Eric Jacklin
Regular Advisor

Tectia SFTP

Hi

I am trying to connect to a Tectia server using -B batchfile mode but it is not working so would you please guide me on the same.

Platform : HPUX 11.11
Command I have used but both the command did not work
1) sftpg3 -B --password=file:/tmp/pass.txt username@hostname #269
2)sftpg3 -B /tmp/CMD.txt --password=file:/tmp/pass.txt usrname@hostname#269
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: Tectia SFTP

> [...] the command did not work

Actual error message(s)? Software versions?

What is "sftpg3"?

My "man sftp" says "[-B buffer_size]" and
"[-b batchfile]", not "-B batchfile".

Often, adding "-v" to an ssh or sftp command
will reveal something useful.
Eric Jacklin
Regular Advisor

Re: Tectia SFTP

Hi,

SFTPG3 is Tectia SFTP command.

Here sftpg3 -B is for batch processing.
Steven Schweda
Honored Contributor

Re: Tectia SFTP

> I am trying to connect to a Tectia server
> [...]

> SFTPG3 is Tectia SFTP command.

Please decide which system is the server, and
which is the client, and then describe both.
You run the SFTP command on the SFTP client,
and use it to connect to the SFTP server.

> Often, adding "-v" to an ssh or sftp command
> will reveal something useful.

Still true. Although I can't guarantee that
the Tectia SFTP client program (if there is
such a thing) actually has a "-v" option,
it's pretty common, and worth a try.

> Actual error message(s)? Software versions?

At least one of us is still wondering about
these things. The phrase "did not work" has
very little value as a problem report.

Also, only one of us has a syntax description
for "sftpg3", so it's hard for the other one
of us to judge the correctness of either
"-B --password=file:/tmp/pass.txt" or
"-B /tmp/CMD.txt", but they both
look wrong to me. If, as you say, "sftpg3 -B
is for batch processing", then I'd expect
something like "-B file_name", not
"-B some_mess_other_than_a_file_name". And
hiding details (like "") is not a
helpful way to describe your actions.
Steven E. Protter
Exalted Contributor

Re: Tectia SFTP

Shalom,

sftpg3 huh? A Tectia server command.

Well I am not surprised in the least that the openssh based secure shell ssh/sftp/scp client HP ships has trouble dealing with this.

Can you step back and say what you are tying to accomplish. Then perhaps I or someone else will provide you a standard compatible command set to get the job done.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eric Jacklin
Regular Advisor

Re: Tectia SFTP

Task it to send the files and i want to set it in such a way that it should read the command from CMD.txt file where the commands are placed.

and it will take the password from passwd.txt.


I would appriciate if somebody who can help me out with the Scipt which will connect to destination server and do mput *

Steven Schweda
Honored Contributor

Re: Tectia SFTP

Many people use SFTP instead of FTP because
it's more Secure, and allows authentication
without the use of a password.

> [...] take the password from passwd.txt.

But you want to use SFTP and store a password
in a file? How secure is that? Could you
explain why? (Or just add these to the long
list of unanswered questions already asked.)

> [...] and do mput *

Does your SFTP client program do "mput"? The
SFTP client supplied with HP-UX 11.11 seems
to use "put" for single and multiple files.