File transfering from Linux to QNX by ftp

Hi

I would want to move a file from Linux (Debian) to QNX by FTP.
This should work without interactive commands. Only one command from
commandline.

Should ncftp or rcp-command work by that purpose ?


Esa

Esa Heikkinen <esa.heikkinen@insta.fi> wrote:

Hi

I would want to move a file from Linux (Debian) to QNX by FTP.
This should work without interactive commands. Only one command from
commandline.

Should ncftp or rcp-command work by that purpose ?


Esa

On a QNX machine, you want to download from linux or
from linux you want to upload to QNX? If the former,
use:

ftp ftp://userid:passwd@linux_host/%2fbin/ls /tmp/ls

If the latter, consult linux documentation.

Regards,

-seanb

“Sean Boudreau” <seanb@qnx.com> wrote in message
news:dsif4n$g7n$1@inn.qnx.com

Esa Heikkinen <> esa.heikkinen@insta.fi> > wrote:
Hi

I would want to move a file from Linux (Debian) to QNX by FTP.
This should work without interactive commands. Only one command from
commandline.

Should ncftp or rcp-command work by that purpose ?


Esa

On a QNX machine, you want to download from linux or
from linux you want to upload to QNX? If the former,
use:

ftp ftp://userid:passwd@linux_host/%2fbin/ls /tmp/ls

I want to download from Linux.

My ftp-command (in QNX4.25) seems not to work this way.

ftp ftp://insta:testi@10.20.20.13/home/insta/PAM31.X .

ftp://insta:testi@10.20.20.13/home/insta/PAM31.X: bad port number-- .
usage: ftp host-name [port]
ftp>

\

Esa

Esa Heikkinen <esa.heikkinen@insta.fi> wrote:

“Sean Boudreau” <> seanb@qnx.com> > wrote in message
news:dsif4n$g7n$> 1@inn.qnx.com> …
Esa Heikkinen <> esa.heikkinen@insta.fi> > wrote:
Hi

I would want to move a file from Linux (Debian) to QNX by FTP.
This should work without interactive commands. Only one command from
commandline.

Should ncftp or rcp-command work by that purpose ?


Esa

On a QNX machine, you want to download from linux or
from linux you want to upload to QNX? If the former,
use:

ftp ftp://userid:passwd@linux_host/%2fbin/ls /tmp/ls



I want to download from Linux.

My ftp-command (in QNX4.25) seems not to work this way.

ftp > ftp://insta:testi@10.20.20.13/home/insta/PAM31.X > .

ftp://insta:testi@10.20.20.13/home/insta/PAM31.X> : bad port number-- .
usage: ftp host-name [port]
ftp

The above was from QNX6. On QNX4 you can write a small
shell script:

#! /bin/sh
cd /tmp
ftp -n linux_host << HERE
user userid passwd

cd /bin
get ls

bye
HERE