Topic "Copy execution result to linux server"

Author Message
Dmitriy.Boiko

Guest


Hello, guys! I am not much familiar with winscp, and I had not found the answer to my question on the forums.

Description:
I have a program, which extracts data from Oracle (Windows server). Result can be printed both to console and file. Extracted file is VERY big, so there is no possibility to store all the data on Windows. It is also not acceptable to extract data by parts.
Question:
Is there possibility to give extracted data to winscp entrance that it could copy it to the remote linux server via sftp?

Thank you.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Dmitriy.Boiko wrote:
Is there possibility to give extracted data to winscp entrance that it could copy it to the remote linux server via sftp?

Do you mean to upload data fed into standard input of WinSCP?
_________________
Martin Prikryl
Dmitriy.Boiko

Guest


Yes. Stdout of windows process to the stdin of WinScp and WinScp should write this stream to file...
Dmitriy.Boiko

Guest


Yes. Stdout of windows process to the stdin of WinScp and WinScp should write this stream to file...
Josef
[View user's profile]

Joined: 2011-04-10
Posts: 3
Location: Austria
If you can login using SSH on the server and can use shell commands, not only SFTP you could use plink!
https://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter7.html#plink
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Josef wrote:
If you can login using SSH on the server and can use shell commands, not only SFTP you could use plink!
https://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter7.html#plink

Exactly, I would suggest the same.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License