1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Connect and run unix commands on remote server Progress Openedge

Discussão em 'StackOverflow' iniciado por fdantas, Fevereiro 19, 2018.

  1. fdantas

    fdantas Administrator Moderador

    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...

Compartilhe esta Página