Sponsored Content
Operating Systems HP-UX Transfer Files from Windows to HP-UX Post 302444233 by vbe on Wednesday 11th of August 2010 08:36:52 AM
Old 08-11-2010
Without a minimum of utilities, it will be difficult...
How do you connect to the HP-UX box? If using ssh, you must have scp installed and so the answer to your question would be "yes"
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

transfer of files via ftp from windows to unix

I am currently looking to write a script to transfer files from a windows NT server to a unix server any ideas of how to go about this? (1 Reply)
Discussion started by: chambala5
1 Replies

2. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies

3. Shell Programming and Scripting

shell script to transfer files from Unix to Windows

I need to write a shell script to transfer files from Unix server to windows machine. This script will be scheduled on scheduler to run at specified intervals #!/bin/ksh ftp -n alaska <<End-Of-Session user sss01 sample cd /home/sss01 lcd D:/sample mget *.txt bye when I executed the... (15 Replies)
Discussion started by: knag
15 Replies

4. UNIX for Advanced & Expert Users

How to transfer files from Unix to Windows.

Hi There is a requirement for me to transfer files from Unix to windows in an automation process of unix. Please let me know is it posibble to shell scripting this? Could you help me in scripting it? Regards Venugopal (2 Replies)
Discussion started by: venu_eie
2 Replies

5. Solaris

Transfer files from Solaris to windows

Please let me know a efficient way to transfer files from a solaris to a windows machine. Total size of data is 800GB. (3 Replies)
Discussion started by: pingmeback
3 Replies

6. Shell Programming and Scripting

Windows to Linux Files Transfer

Hi, I have to write a batch script in windows and transfer files from windows ro linux. But I am not able to connect to the Linux machine. The script to transfer files from windows to unix is not working. Please let me know how to transfer files using script. P.S.- I have to put files from... (4 Replies)
Discussion started by: vsachan
4 Replies

7. Shell Programming and Scripting

Shell Script to transfer files from unix to windows

I have to transfer a file from unix to windows through Shell Script. I am using the below script, but it is not working. Please help. Please note --- I have to transfer the file from unix to windows. Not from windows to unix. I mean I don't have to use batch script.Only through unix shell script.... (1 Reply)
Discussion started by: vsachan
1 Replies

8. UNIX for Dummies Questions & Answers

transfer windows files to linix

I'm very new to linix (using puppy) and need to transfer some files on the same computer from windows to linix. Please use small easy words (2 Replies)
Discussion started by: bugzy
2 Replies

9. Shell Programming and Scripting

Script to transfer files from Solaris to windows

Hi All Please can you help, I´ve wrote the following script on a solaris 10 server to transfer files to a windows machine. #!/usr/bin/sh cd /moneta_polled01/download HOST=10.100.4.72 USER=user1 PASSWD=V7stop /usr/bin/ftp -v $HOST <<EOF user $USER $PASSWD cd tmp binary put... (7 Replies)
Discussion started by: fretagi
7 Replies

10. Shell Programming and Scripting

Help with a script to transfer files from Solaris to windows

Hi Please can you tell me what could be wrong with the following scriptto transfer files from solaris 10 to windows machine: #!/bin/sh HOST=<IP> USER=administrator PASSWD=xyz123zyx /usr/bin/ftp -inv <<EOF connect $HOST user $USER $PASSWD cd Documents binary mput *.sh bye EOF (23 Replies)
Discussion started by: fretagi
23 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 CATEGORY
Transfer module COPYRIGHT
Copyright (c) 2006-2009 Andreas Kupries <andreas_kupries@users.sourceforge.net> transfer 0.2 transfer::copy(n)
All times are GMT -4. The time now is 04:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy