[Stackoverflow] [Progress OpenEdge ABL] Connect and run unix commands on remote server Progress Openedge

Status
Not open for further replies.
M

Mahesh

Guest
I need to connect to remote server via sftp and put some file there. Following commands do my work from terminal:

sftp -P <port> user@remote_server
cd <target_dir_at_remote_server>
put <my_file_at_local_server>
quit


Here, first line establishes the connection to the remote server and following commands are run there. But when i try to run these commands from Progress 4GL code using os-command value(<commands>) or unix value(<commands>), all commands run on local server instead of remote server. Suggestions with code sample will be highly appreciated.

Continue reading...
 
Status
Not open for further replies.
Top