1828195 Members
2127 Online
109975 Solutions
New Discussion

Re: sftp in batch

 
Willem Grooters
Honored Contributor

sftp in batch

I need to send files over an sftp connection from a VMS box to another system (not VMS), and need to do so in a commandprocedure (probably in batch). It is found far less straight forward than plain FTP, it's much less forgiving for errors.
I would like to know answers on questions like: how to specify a pasword (if any), what commands must be used etc.
An simple example would be very helpful

TIA

Willem
Willem Grooters
OpenVMS Developer & System Manager
4 REPLIES 4
Hoff
Honored Contributor

Re: sftp in batch

Volker Halle
Honored Contributor

Re: sftp in batch

Willem,

I've done some test with sftp a while ago and posted an example:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985928

Volker.
Daniel Fernandez Illan
Trusted Contributor

Re: sftp in batch

Willem

here are some questions about SFTP in batch mode and also SCP option to get files using ssh protocol:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1001101

Saludos.
Daniel.
Willem Grooters
Honored Contributor

Re: sftp in batch

Colleague found the information helpful but not suiting his situation. He will experiment around it.
Willem Grooters
OpenVMS Developer & System Manager