Focal Point
sftp files on remote server

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/1387028306

May 14, 2011, 10:36 PM
ray_In_Vancouver
sftp files on remote server
What service can i use to get a list of files on a remote sftp server?

I can connect to it, but i will not know the name of the files on the sftp server wiating for

me to get.

This message has been edited. Last edited by: ray_In_Vancouver,


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server
May 15, 2011, 09:51 AM
George Patton
Why not use:

mget *

That will get all the files to whatever local directory you are using. Then use your operating system to pipe the resulting list to a file that can then be read by WebFOCUS. In Windoze something like:

DOS DIR > listoffiles /B

will create the list. (The /B produces bare output with no date info or headings)


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
May 15, 2011, 01:02 PM
ray_In_Vancouver
[SOLVED]

Used SFTP Listener, it retreives any files in folders and stores them 1 at a time


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server