ISSUE USING PUTTY SFTP FOR PSUB REPORT FILE VIEWING (Doc ID 452865.1)

Last updated on APRIL 05, 2012

Applies to:

Oracle Clinical - Version: 4.5.1 to 4.5.2 - Release: 4.5.1 to
Information in this document applies to any platform.
***Checked for relevance on 04-Aug-2010***
***Checked for relevance on 5-Apr-2012***

Symptoms

You have set up SFTP as indicated in <>

You find that PuTTY SFTO (psftp.exe) is the closest client to the instructions provided (actually
looks like they were written for it).

Everything seems to work as expected: from the command line, you can sftp from the middle tier to the
database back-end, login without password (so the privatepublic key is working), but when running a
PSUB report, cannot view its output or log files.

The files are generated by PSUB on the back-end, but they do not get transferred to the temporary
location on the middle-tier 

Steps to Reproduce Problem: 

The SFTP script as created by the Oracle Clinical file viewing program, cannot run with psftp, since it contains commands that psftp does not understand, such as 'user' or 'ascii'.

This is a typical script:

open <db host>
user <user> <pwd>
ascii
get /files/home/mbigliar/log/l50.log D:\opapps45\temp\l50_mbigliar__temp.log
quit


'user' is not a command. psftp syntax should be 'open <user>@<db host>' and then everything would work ('ascii' would fail, but it wold be ignored, and the file would be transferred. 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms