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)
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)
Dear Friends,
I need to transfer few files from a Windows 2000 server to Sun Solaris system, connected in the same network. This copy should be done as a batch job without asking for password to be entered every time. How to make this possible ???
At present I am using cygwin in my laptop... (4 Replies)
I need to transfer files from Windows to Hp-UX box with out any software(Filezilla ...., Fsecure file transfer)
Is it possible to transfer using command prompt ? (6 Replies)
I have a file on my desktop which is windows based.
I make a telnet session with a Solaris machine that too with root access by using putty.
I want to transfer a file there on Solaris machine.
Is there a mean to transfer this file on solaris machine.
If now can it be known by using telnet... (6 Replies)
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)
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)
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)
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
LEARN ABOUT DEBIAN
tentacle_client
TENTACLE_CLIENT(1) Client file transfer protocol TENTACLE_CLIENT(1)NAME
tentacle_client - a client file transfer protocol
SYNOPSIS
tentacle_client <options> Tentacle is a client/server file transfer protocol that aims to be:
- Executable programs or shell commands
- System calls (functions provided by the kernel)
- Library calls (functions within program libraries)
Tentacle was created to replace more complex tools like SCP and FTP for simple file transfer/retrieval, and switch from authentication
mechanisms like .netrc, interactive logins and SSH keys to X.509 certificates. Simple password authentication over a SSL secured connection
is supported too.
The client and server (TCP port 41121) are designed to be run from the command line or called from a shell script, and no configuration
files are needed.
Tentacle is now the default file transfer method for Pandora FMS and Babel Enterprise.
Tentacle is implemented in Perl and ANSI C (Windows platforms included).
You can download it and get more information at the official Sourceforge website http://tentacled.sourceforge.net/.
OPTIONS
Tentacle Client options :
-a address : Server address (default 127.0.0.1).
-c : Enable SSL without a client certificate.
-e cert : OpenSSL certificate file. Enables SSL.
-f ca : Verify that the peer certificate is signed by a ca.
-g : Get files from the server.
-h : Show help.
-k key : OpenSSL private key file.
-p port : Server port (default 41121).
-q : Quiet. Do now print error messages.
-r number : Number of retries for network operations (default 3).
-t time : Time-out for network operations in seconds (default 1s).
-v : Be verbose.
-w : Prompt for OpenSSL private key password.
-x pwd : Server password.
EXAMPLES
tentacle_client -a 192.168.1.1 -v /bin/bash
Simple file transfer with maximum file size set to 1MB
tentacle_client -a 192.168.1.1 -x password -v /bin/bash
Simple file transfer with password authentication (not secure)
tentacle_client -a 192.168.1.1 -x password -e cert.pem -k key.pem -v /bin/bash
Secure file transfer with client certificate and password authentication
NOTES
Tentacle requires Perl 5.8 or higher to works
SEE ALSO tentacle_server(1), pandora_server(1), pandora_agent(1)0.2.0 2010-05-11 TENTACLE_CLIENT(1)