1821052 Members
2260 Online
109631 Solutions
New Discussion юеВ

Re: Data transfer

 
SOLVED
Go to solution
O'lnes
Regular Advisor

Data transfer

We are running UNIX platform, and use both telnet programs : Reflection and Netterm in the client side, can someone suggest what protocol (eg. Kermit ) that best suit for use to data transfer in our case? what protocol work fine in both these two programs ? Thank a lot.
Andy
22 REPLIES 22
harry d brown jr
Honored Contributor

Re: Data transfer

FTP?

live free or die
harry
Live Free or Die
Bill McNAMARA_1
Honored Contributor

Re: Data transfer

rcp

Bill
It works for me (tm)
O'lnes
Regular Advisor

Re: Data transfer

I want to upload and download file between UX and PC , what protocol is the best? Thanks.
Andy
Pete Randall
Outstanding Contributor

Re: Data transfer

NFS?


Pete

Pete
Sanjay_6
Honored Contributor

Re: Data transfer

Hi,

ftp is what i think i would prefer.

Hope this helps.

Regds
Christopher McCray_1
Honored Contributor

Re: Data transfer

Hello,

Can I get one more FTP??

FTP!!

Sold!!

Have a great day.

Chris
It wasn't me!!!!
harry d brown jr
Honored Contributor
Solution

Re: Data transfer

andy,

from your PC, in a command window (ms-dos), use ftp

cd \directory to send or receive files in

ftp UNIXHOSTNAME
UNIX_USERNAME
UNIX_PASSWORD
get filename

or

put filename

Also, you might want to use the "bin" option to allow binary file transfers.

On the PC do "ftp -H" to get command line help, and for commands within ftp type in help (after starting ftp)

on unix, type in "man ftp"


live free or die
harry
Live Free or Die
Tim D Fulford
Honored Contributor

Re: Data transfer

ftp

Tim
-
O'lnes
Regular Advisor

Re: Data transfer

if use ftp , it requires login and setup ftp server so it is not work in our case.
is there any good tools? Thanks.
Andy
Tim D Fulford
Honored Contributor

Re: Data transfer

This may or may not help (I'm no expert on this) I think SSH can be used to do rcp like stuff...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7b93107d277ad611abdb0090277a778c,00.html

You can write ftp scripts

Tim
-
harry d brown jr
Honored Contributor

Re: Data transfer

You said you currently TELNET into the unix boxes, which means YOU HAVE a LOGIN.

It's a LOT easier if you set up FTP on your unix server than installing special programs on all of your client PC's that need to transfer data!

live free or die
harry
Live Free or Die
O'lnes
Regular Advisor

Re: Data transfer

if use ftp , it requires setup ftp server and login so it is not work in our case.
is these any tools ( eg. zmodem and kermit) is the best for use? Thanks.

Andy
Andy
Christopher McCray_1
Honored Contributor

Re: Data transfer

Hello,

I apologize in advance if I'm not understanding when you state "requires setup ftp server and login". You don't need to "set up" an FTP server; your server is an FTP server.

Please elaborate.

Chris
It wasn't me!!!!
harry d brown jr
Honored Contributor

Re: Data transfer


On your unix box do this:

grep ftp /etc/services /etc/inetd.conf | grep -v "\:#"

which should produce something like this:

/etc/services:ftp-data 20/tcp # File Transfer Protocol (Data)
/etc/services:ftp 21/tcp # File Transfer Protocol (Control)
/etc/services:tftp 69/udp # Trivial File Transfer Protocol
/etc/services:sftp 115/tcp # Simple File Transfer Protocol
/etc/services:bftp 152/tcp # Background File Transfer Protocol
/etc/services:ftp-ftam 8868/tcp # FTP->FTAM Gateway
/etc/inetd.conf:ftp stream tcp nowait root /usr/lbin/ftpd ftpd -lLio
/etc/inetd.conf:tftp dgram udp wait root /usr/lbin/tftpd tftpd

then check /etc/ftpd/ftpaccess, if it doesn't exist, then you are ready to to use FTP without any further ado.

live free or die
harry
Live Free or Die
O'lnes
Regular Advisor

Re: Data transfer

i want the download/upload tools called by the program, ( I mean the tools is in our application program so it is not possible to use ftp).
Any suggestion?

Andy.
Andy
Bill Hassell
Honored Contributor

Re: Data transfer

Reflection has a very nice graphical ftp client program and depending on how new it is, Reflection may also have an ftp server for the PC. Standard HP-UX comes out of the box with ftp and every Windows-based PC also has ftp as a simple DOS comand.

rcp requires special services to be setup for authentication and is also available in the Reflection software package. However, rcp is much slower and creates a bigger network load than ftp (lots of small packets going both ways). FTP is an adaptive protocol in several ways. For slow speed links, it makes changes to insure reliable data transfers and for high speed links, uses the maximum packets size. And in all cases, FTP allows multiple records to be transferred before requiring an acknowledgement, all of this to maximize throughput. FTP is also the only protocol that translates ASCII files, a big requirement when trying to integrate unrelated operating systems (like Windows and Unix).


Bill Hassell, sysadmin
harry d brown jr
Honored Contributor

Re: Data transfer


What application program? ==>

"i want the download/upload tools called by the program, ( I mean the tools is in our application program so it is not possible to use ftp).


You can install perl on your PC's:

http://www.cpan.org/ports/index.html#win32

and then load the FTP module and have at it!

http://www.perl.com/CPAN-local/authors/Aldo_Calpini/Win32Internet-0.08.readme
http://www.perl.com/CPAN-local/authors/Aldo_Calpini/Win32Internet-0.08.zip

live free or die
harry
Live Free or Die
Rodney Hills
Honored Contributor

Re: Data transfer

If you are using netterm, netterm has zmodem protocol available. You can get the HPUX side of zmodem from the software porting and archive center.

Then you can send escape sequences down to your netterm session that can begin the transfer.

-- Rod Hills
There be dragons...
Martin Johnson
Honored Contributor

Re: Data transfer

Reflections includes the ftp client. Just set up the client to login, choose transfer method (ascii/binary/tenex/smart), then choose files to transfer.


Marty
O'lnes
Regular Advisor

Re: Data transfer

Anyone know where can i get the latest zmodem?
Thanks.

Andy.
Andy
Michael Lampi
Trusted Contributor

Re: Data transfer

If you are running on a LAN, then you might consider using samba. This would be transparent to PC applications, as the unix disk shares would appear to be identical to PC disk volumes.

If running HP-UX (assumed since you are in this forum!) then you can run the prepackaged HP-UX version. Otherwise, you can obtain samba through the HP-UX Porting Centres.
A journey of 1000 steps ends in a mile.
Frank Slootweg
Honored Contributor

Re: Data transfer

Which is the client, MS Windows PC or HP-UX system?

If MS Windows PC, then you can probably use rcp. Many MS Windows versions include rcp. If not in your case then please post which MS Windows version you use.