File transfer using Zmodem protocol


 
Thread Tools Search this Thread
Top Forums Programming File transfer using Zmodem protocol
# 1  
Old 03-23-2005
File transfer using Zmodem protocol

can anybody guide me how do i initiate file transfer over modem using zmodem protocol...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What kind of transfer protocol we have in UNIX?

I was asked this question on the interview. I know ftp, sftp, scp, rcp. They said one more indi or indy Could you please let me know it? Thanks, Oleg (2 Replies)
Discussion started by: digioleg54
2 Replies

2. Programming

Serial file transfer protocol / checksums

Hello ppl, I'm working on a windows program simulating an existing Unix program, the program is a firmware downloader, it sends a binary firmware file through the serial port (rs232) to a Set-Top Box running under unix system too, as i'm a poor unix user and not a unix programmer i choosed the... (10 Replies)
Discussion started by: nidal
10 Replies

3. Solaris

Transfer files from windows to solaris with winscp (file protocol:SFTP)

Hello, I have a couple of zip files to be copied from my local drive to a folder in solaris10 residing in a VM ware. i am using WINSCP, I tried to get hold of the solaris hostname or ip using ifconfig -a , hostname|nslookup etc. when i create a new session in WINSCP using that IP and port... (6 Replies)
Discussion started by: herbich1985
6 Replies

4. UNIX for Dummies Questions & Answers

How do i transfer file using ftp protocol in Linux.

Hi , I want to transfer file using ftp protocol . I m using following linux distribution. LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: OracleVMserver Description: Oracle VM server release 2.2.0 Release: 2.2.0 Codename: ... (5 Replies)
Discussion started by: pinga123
5 Replies

5. UNIX for Dummies Questions & Answers

Sending a file using Zmodem

Hi all, I'm trying to send a file to a remote host on a DG/UX system connected directly to a serial port of a computer, but every time I try to send the file, the remote host cannot recieve it (the download screen hangs, some wierd characters are displayed when I type the rz command). I tried... (1 Reply)
Discussion started by: danceofillusion
1 Replies

6. HP-UX

SFTP Protocol: How to transfer the file in PC Format

Hi, We are facing issue with files transfered using SFTP in Hp-UX. The transfered files are in Unix Format. That is, file format as UNIX (LF) instead of a PC format (CR & LF). How can we achieve file transfers as PC format using SFTP? Your help and input will be highly appreciated. ... (2 Replies)
Discussion started by: brap45
2 Replies

7. Shell Programming and Scripting

Secure File Transfer Protocol

Hi, Is there any protocol other than SFTP to transfer the file using secured connection SSH. ? Regards, Arthik (2 Replies)
Discussion started by: arthikbabu
2 Replies

8. UNIX for Dummies Questions & Answers

can't upload more than one file per session on zmodem

I am working on a website that I have to upload to a unix server. I know next to nothing about unix and I have tried to use Koalaterm and Absolute Telnet to upload files via zmodem. It will upload the first file when I type "sz myfile", however to upload any files beyond that I have to exit and... (1 Reply)
Discussion started by: chiquitita
1 Replies

9. UNIX for Dummies Questions & Answers

Zmodem Utilities

Where can I find Zmodem utilities for Soloris 7 ie: rz sz thnx (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
Login or Register to Ask a Question
Device::Modem::Protocol::Xmodem(3pm)			User Contributed Perl Documentation		      Device::Modem::Protocol::Xmodem(3pm)

NAME
Device::Modem::Protocol::Xmodem Xmodem::Block Class that represents a single Xmodem data block. Synopsis my $b = Xmodem::Block->new( 1, 'My Data...<until-128-chars>...' ); if( defined $b ) { # Ok, block instanced, verify its checksum if( $b->verify( 'checksum', <my_chksum> ) ) { ... } else { ... } } else { # No block } # Calculate checksum, crc16, 32, ... $crc16 = $b->crc16(); $crc32 = $b->crc32(); $chksm = $b->checksum(); Xmodem::Buffer Class that implements an Xmodem receive buffer of data blocks. Every block of data is represented by a "Xmodem::Block" object. Blocks can be pushed and popped from the buffer. You can retrieve the last block, or the list of blocks from buffer. Synopsis my $buf = Xmodem::Buffer->new(); my $b1 = Xmodem::Block->new(1, 'Data...'); $buf->push($b1); my $b2 = Xmodem::Block->new(2, 'More data...'); $buf->push($b2); my $last_block = $buf->last(); print 'now I have ', scalar($buf->blocks()), ' in the buffer'; # TODO document replace() function ??? Xmodem::Constants Package that contains all useful Xmodem protocol constants used in handshaking and data blocks encoding procedures Synopsis Xmodem::Constants::soh ........... 'start of header' Xmodem::Constants::eot ........... 'end of trasmission' Xmodem::Constants::ack ........... 'acknowlegded' Xmodem::Constants::nak ........... 'not acknowledged' Xmodem::Constants::can ........... 'cancel' Xmodem::Constants::C ........... `C' ASCII char Xmodem::Constants::XMODEM ........ basic xmodem protocol Xmodem::Constants::XMODEM_1K ..... xmodem protocol with 1k blocks Xmodem::Constants::XMODEM_CRC .... xmodem protocol with CRC checks Xmodem::Constants::CHECKSUM ...... type of block checksum Xmodem::Constants::CRC16 ......... type of block crc16 Xmodem::Constants::CRC32 ......... type of block crc32 Xmodem::Receiver Control class to initiate and complete a "X-modem" file transfer in receive mode Synopsis my $recv = Xmodem::Receiver->new( modem => {Device::Modem object}, filename => 'name of file', XXX protocol => 'xmodem' | 'xmodem-crc', | 'xmodem-1k' ); $recv->run(); Object methods abort_transfer() Sends a cancel char ("can"), that signals to sender that transfer is aborted. This is issued if we receive a bad block number, which usually means we got a bad line. modem() Returns the underlying Device::Modem object. receive_message() Retreives message from modem and if a block is detected it breaks it into appropriate parts. run() Starts a new transfer until file receive is complete. The only parameter accepted is the (optional) local filename to be written. send_ack() Sends an acknowledge ("ack") char, to signal that we received and stored a correct block Resets count of timeouts and returns the "Xmo- dem::Block" object of the data block received. send_timeout() Sends a timeout ("nak") char, to signal that we received a bad block header (either a bad start char or a bad block number), or a bad data checksum. Increments count of timeouts and at ten timeouts, aborts transfer. See also - Device::Modem perl v5.8.8 2005-04-30 Device::Modem::Protocol::Xmodem(3pm)