Sponsored Content
Special Forums IP Networking Need to copy file from Linux to DOS. Post 302465513 by mghis on Friday 22nd of October 2010 03:48:50 PM
Old 10-22-2010
Quote:
Originally Posted by fpmurphy
Why are you not using Kermit to transfer the file then? Kermit has excellent builtin file transfer capability. In fact file transfer was the original purpose of Kermit; other capabilities like terminal emulation came later.
Cool! I didn't knew that! Thanks a lot! Smilie
But I wonder if I have to install KERMIT in the Linux PC... Is the package "ckermit" what I need?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

copy on dos floppy?

can we copy files to a dos floppy on a unix system? how? thanx in advance raju (2 Replies)
Discussion started by: raju
2 Replies

2. UNIX for Dummies Questions & Answers

linux, copy a:\file to /tmp in linux?

hi, i am on linux 8. i wanted to copy a file from my a:\filename to my linux 8 /tmp directroy. how do i do this or any directions as in how to accompilsh. thanks (6 Replies)
Discussion started by: yls177
6 Replies

3. UNIX for Dummies Questions & Answers

DOS Debug for linux

Hi guys. I'm in desperate need of a program that can allow me to write files to different sectors of a disk (floppy), in the same way the DOS Debug program can (with a command such as -w 100 0 0 1 to write the bootsector of the disk). Does anyone know any links or names of programs that could... (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies

4. UNIX for Dummies Questions & Answers

command for copy file from CD to Linux box

Hi , I have simple question as i am beginner , I have to copy one file from cd(compact disc) to my linux box on some directory. With which command and how can i do that? Thanks sam71 (2 Replies)
Discussion started by: sam70
2 Replies

5. UNIX for Dummies Questions & Answers

Copy files from CDROM to DOS Directory

Hi Everyone, :) Could someone PLEASE tell me how to copy some DOS files from a CDROM to a DOS readable directory in UNIX. I imagine that sounds strange, but that's what I need to do. I am somewhat familiar with... Inserting the CDROM mount /mnt/cdrom ls /mnt/cdrom eject /mnt/cdrom... (3 Replies)
Discussion started by: greystoke
3 Replies

6. UNIX for Dummies Questions & Answers

copy and paste certain many lines of huge file in linux

Dear All, I am working with windoes OS but remote a linux machine. I wonder the way to copy an paste some part of a huge file in linux machine. the contain of file like as follow: ... dump annealling all custom 10 anneal_*.dat id type x y z q timestep 0.02 run 200000 Memory... (2 Replies)
Discussion started by: ariesto
2 Replies

7. Shell Programming and Scripting

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree Double post. Replies here moved to... (0 Replies)
Discussion started by: naree
0 Replies

8. SuSE

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree (1 Reply)
Discussion started by: naree
1 Replies

9. Emergency UNIX and Linux Support

Copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive I don't want to mount. Is there any way we can do it. Regards Naree (34 Replies)
Discussion started by: naree
34 Replies
transfer::copy(n)					     Data transfer facilities						 transfer::copy(n)

__________________________________________________________________________________________________________________________________________________

NAME
transfer::copy - Data transfer foundation SYNOPSIS
package require Tcl 8.4 package require transfer::copy ?0.2? transfer::copy::do chan|string data outchannel ?options...? transfer::copy::chan channel outchannel ?options...? transfer::copy::string string outchannel ?options...? transfer::copy::doChan channel outchannel optvar transfer::copy::doString string outchannel optvar transfer::copy::options outchannel optionlist optvar _________________________________________________________________ DESCRIPTION
This package provides a number of commands for the asynchronous of information contained in either a string or channel. The main point of this package is that the commands here provide a nicer callback API than the builtin command fcopy, making the use of these facilities sim- pler than the builtin. API
transfer::copy::do chan|string data outchannel ?options...? This command transfers the information in data to the outchannel, according to the options. The type of the information in data is determined by the first argument. The options available to this command are the same as are available to the command transfer::copy::options, and explained there. chan The argument data contains the handle of a channel and the actual infomration to transfer is read from that channel. string The argument data contains a string and this is the information to be transfered. transfer::copy::chan channel outchannel ?options...? This command is a shorter and more direct form for the command transfer::copy::do chan. transfer::copy::string string outchannel ?options...? This command is a shorter and more direct form for the command transfer::copy::do string. transfer::copy::doChan channel outchannel optvar This command is an alternate form of transfer::copy::chan which reads its options out of the array variable named by optvar instead of from a variable length argument list. transfer::copy::doString string outchannel optvar This command is an alternate form of transfer::copy::string which reads its options out of the array variable named by optvar instead of from a variable length argument list. transfer::copy::options outchannel optionlist optvar This command is the option processor used by all the commands above which read their options from a variable length argument list. It first reads default settings from the channel handle outchannel, then processes the list of options in optionlist, at last stores the results in the array variable named by optvar. The contents of that variable are in a format which is directly understood by all the commands above which read their options out of an array variable. The recognized options are: -blocksize int This option specifies the size of the chunks to transfer in one operation. It is optional and defaults to the value of -buffersize as configured for the output channel. If specified its value has to be an integer number greater than zero. -command commandprefix This option specifies the completion callback of the operation. This option has to be specified. An error will be thrown if it is not, or if the empty list was specified as argument to it. Its value has to be a command prefix, i.e. a list whose first word is the command to execute, followed by words containing fixed arguments. When the callback is invoked one or two additional arguments are appended to the prefix. The first argument is the number of bytes which were transfered. The optional second argument is an error message and added if and only if an error occured during the the transfer. -progress commandprefix This option specifies the progress callback of the operation. It is optional and defaults to the empty list. This last possi- bility signals that no feedback was asked for and disabled it. Its value has to be a command prefix, see above, -command for a more detailed explanation. When the callback is invoked a single additional arguments is appended to the prefix. This argument is the number of bytes which were transfered so far. -size int This option specifies the number of bytes to read from the input data and transfer. It is optional and defaults to "Transfer everything". Its value has to be an integer number and any value less than zero has the same meaning, i.e. to transfer all available data. Any other value is the amount of bytes to transfer. All transfer commands will throw error an when their user tries to transfer more data than is available in the input. This happens immediately, before the transfer is actually started, should the input be a string. Otherwise the, i.e. for a channel as input, the error is thrown the moment the underflow condition is actually detected. -encoding encodingname -eofchar eofspec -translation transspec These options are the same as are recognized by the builtin command fconfigure and provide the settings for the output chan- nel which are to be active during the transfer, and only then. I.e. the settings of the output channel before the transfer are saved, and restored at the end of a transfer, regardless of its success or failure. None of these options are required, and they default to the settings of the output channel if not specified. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category transfer of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
channel, copy, transfer COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net> transfer 0.2 transfer::copy(n)
All times are GMT -4. The time now is 05:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy