11-13-2005
unix automatic file transfer
Hello,
I am a beginner with korn shell scripting. I have got a text file that gets produced every night and I need to transfer it to a windows shared area.
Is there any command line script (e.g FTP) that I could use to transfer the file automatically without manual intervention everyday?
Any ideas will be very much appreciated
Thanks
10 More Discussions You Might Find Interesting
1. IP Networking
Is there a method to transfer a file from UNIX (AIX) to an NT box
without the NT box having any special software running? I can ping the box via the network and I have a valid NT account to use.
Is FTP a viable solution ?
HELP! (10 Replies)
Discussion started by: jvacc
10 Replies
2. UNIX for Dummies Questions & Answers
how to pass files from unix to windows nt?help (8 Replies)
Discussion started by: srinivasanvs
8 Replies
3. Shell Programming and Scripting
Hi ,
can any one help me with a perl script for automating file transfer ?
At each step i need to check for the success or failure .
I am trying to connect to the target system for a specified number of times.if it doesnt connect even after 3 retries then the script should exit.
and i have to... (8 Replies)
Discussion started by: sveera
8 Replies
4. Shell Programming and Scripting
it's possible make a transfer file with a remote command from UNIX SYSTEM to another computer with WIN2000/XP ???
ex.(rsh,ssh ecc.....????)
now i use FTP program or telnet connection but ,i find a solution for execute a transfre file in to shell script UNIX (sh or ksh) from windows system (2 Replies)
Discussion started by: ZINGARO
2 Replies
5. Shell Programming and Scripting
Hello sir/Madam,
I m writing in unix prompt folllowing-
>ftp <local ip> // my pc ip is 10.64.0.59
Then following message is displayed-
"ftp: connect: Connection refused"
Please help me to solve this problem.
Thanking you. (3 Replies)
Discussion started by: Nirmal
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Do any one know the shell script code to transfer a file from unix to windows on same PC (4 Replies)
Discussion started by: monika
4 Replies
7. UNIX for Advanced & Expert Users
Hi,
How do i know if the files are transferred succesfully when i use SCP to transfer files between 2 servers.
One more is i am trying to send all the files in a single shot by using * to save the connection time. So can i know when the scp breakes in the middle
scp $sourcepath/*... (9 Replies)
Discussion started by: vijaykrc
9 Replies
8. Shell Programming and Scripting
Hello ,
I need to write a script that by using scp transfer a csv file from UNIX to a MFT system (MFT is similar to a winscp) with the help of a private/public key. problem is we are not suppose to generate a private key that will be provided to use by an Application team.
Can anybody help me... (0 Replies)
Discussion started by: Monika08
0 Replies
9. UNIX and Linux Applications
I am using Unix workstation to transfer a .txt file to my other Windows XP desktop using network. can u suggest some idea how to do. i am new to unix . (4 Replies)
Discussion started by: senthil17
4 Replies
10. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
LEARN ABOUT SUSE
transmitter
transfer::transmitter(n) Data transfer facilities transfer::transmitter(n)
__________________________________________________________________________________________________________________________________________________
NAME
transfer::transmitter - Data source
SYNOPSIS
package require Tcl 8.4
package require snit ?1.0?
package require transfer::copy ?0.1?
package require transfer::data::source ?0.1?
package require transfer::connect ?0.1?
package require transfer::transmitter ?0.1?
transfer::transmitter object ?options...?
object destroy
object start
object busy
_________________________________________________________________
DESCRIPTION
This package pulls data sources and connection setup together into a combined object for the transmission of information over a socket.
These objects understand all the options from objects created by the packages transfer::data::source and transfer::connect.
API
transfer::transmitter object ?options...?
This command creates and configures a new transmitter object. The fully qualified name of the object command is returned as the
result of the command.
See the packages transfer::data::source and transfer::connect for the main options recognized. Here we describe only the options
which go beyond the referenced set.
-command cmdprefix
This option specifies the command to invoke when the transmission of the information in the data source has been completed.
The arguments given to this command are the same as given to the completion callback of command transfer::copy::do, see pack-
age transfer::copy.
-blocksize int
This option specifies the size of the chunk to be transmitted in one block. It is optional and defaults to 1024.
object destroy
This method destroys the object. Doing so while a transmission is on progress will cause errors later on, when the transmission com-
pletes and tries to access the now missing data structures of the destroyed object.
object start
This method initiates the data transmission, setting up the connection first and then copying the information. The method will
throw an error if a transmission is already/still in progress. I.e. it is not possible to run two transmissions in parallel, only in
sequence. Errors will also be thrown if the configuration of the data source is invalid, or if no completion callback was specified.
The result returned by the method the same as the result of method connect, see package transfer::connect.
object busy
This method returns a boolean value telling us whether a transmission is in progress (True), or not (False).
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, data source, transfer, transmitter
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
transfer 0.1 transfer::transmitter(n)