Sponsored Content
Top Forums Shell Programming and Scripting How to transfer file from one PC to another using PERL? Post 302613819 by balajesuri on Wednesday 28th of March 2012 12:46:01 AM
Old 03-28-2012
What's your attempt with Net::FTP?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl scirpt for automatic file transfer

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

2. Shell Programming and Scripting

Data transfer from DB2 to Sybase using Perl?

Hi, Good Morning everybody. I need to write a perl script which will get some data from DB2 table and then put it into Sybase table. I have the experience in Oracle and Unix but new to these perl, DB2 and Sybase technologies. Appreciate if any one can suggest with a sample code. Thanks... (1 Reply)
Discussion started by: rajus19
1 Replies

3. Shell Programming and Scripting

file transfer

hi all how do i copy a file from one server to another thanks bkan77 (4 Replies)
Discussion started by: bkan77
4 Replies

4. UNIX for Dummies Questions & Answers

Transfer the file

Dear all, Can anybody let me know how to automate a file transfer process to a remote m/c thru SFTP , automate means it will not prmpt for password. how i am going to achive this....and what all methods are available or tools are available ???? (2 Replies)
Discussion started by: manas_ranjan
2 Replies

5. Shell Programming and Scripting

File transfer

Hi All, it might not be an sound question, i have two server like A and B.. i want to transfer file from B to A ..here i have some questions.. 1) do we need to create private and public key to connect..and transferring files...from B to A..? 2) i tried with scp options like... (2 Replies)
Discussion started by: Shahul
2 Replies

6. Shell Programming and Scripting

Perl automated file transfer

Hi, Firstly, I have no experience (at all) with shell scripting. So please, go easy on me :) I did a search for what I was looking for although there were a few things available here and on the net I couldn't find anything tailored to what I am looking for. Simply put, I have two servers.... (2 Replies)
Discussion started by: lastrider
2 Replies

7. Shell Programming and Scripting

C, sh, perl, system(): Can't transfer a return code appropriately: help, pls

I am using a perl-script from C-code, executing it by the 'system(..)' comand. The problem is to return the perl-return code to the C correctly. Default the 'system()' shell is Bourne: sh My try: (perl_src.c_pl - the perl script; t_sys - C-program with system() call (I will show it... (7 Replies)
Discussion started by: alex_5161
7 Replies

8. Programming

File transfer in C

HI Can anyone provide me with codes for file transfer server to client or vice versa? Also please explain how to compile those programs in ubuntu terminal as i am totally new to socket programming. Thanks (0 Replies)
Discussion started by: mayhemtrigger
0 Replies

9. UNIX for Advanced & Expert Users

perl script to transfer newly generated files by scp

Hi all, I have root directory on server 1 say A and having sub directory B now my application generates output files and put in sub directory B. now i need to transfer these files from server1 to server2 by scp which is having same directory structure A and sub directory B I have tried... (2 Replies)
Discussion started by: tushar_spatil
2 Replies

10. Shell Programming and Scripting

Avoiding file overwrite during file transfer using scp

Hi, I have written a small script to transfer a file from one unix server to other using scp command which is working fine. As I know with scp, if any file with the same name is already present on destination server, it would get overwritten without any notification to user. Could anyone help me... (14 Replies)
Discussion started by: dsa
14 Replies
vt(1)							      General Commands Manual							     vt(1)

NAME
vt - log into another system over lan SYNOPSIS
nodename [lan_device] [lan_device] DESCRIPTION
enables a user to log into another HP 9000 system (nodename) over an HP local area network. The option causes to send a poll request over the local area network to find out what systems currently have running (see vtdaemon(1M)). An asterisk following a nodename in the response indicates that the system is a gateway. Plus signs following the nodename indicate how many gateways must be traversed to reach that system. The optional argument lan_device specifies a character special device name to use instead of the default device name to send and receive data to and from the local area network. The major number for this device must correspond to a CIO IEEE 802.3 local area network device. Once a connection has been established, enters input mode. In this mode, text typed is sent to the remote host. To issue commands when in input mode, precede them with the escape character (see Commands below). When in command mode, normal terminal editing conventions are available. The connection should terminate automatically upon termination of the login shell on the remote machine. If the connection is not termi- nated upon exit, it is likely that the on the remote system has either been terminated or restarted. To terminate a vt connection, enter command mode and use the command to terminate the connection. Commands recognizes the following commands. Commands can be abbreviated by typing enough of the command to uniquely identify it. Change the working directory on the remote machine to remote-directory. This command is applicable for file transfer only. Set the escape character. If a character is not specified prompts for one. To print or display the current escape character simply press Return in response to this prompt. Print a command summary. Change the local working directory. If no directory is specified, use the user's home directory. This command is applicable for file transfer and shell escapes only. Copy remote-file to local machine and store as local-file. prompts for the file names if they are not specified. The file transfer can be aborted by typing the interrupt character or pressing the break key. Copy local-file to the remote machine and store as remote-file. prompts for the file names if they are not speci- fied. The file transfer can be aborted by typing the interrupt character or pressing the break key. Terminate the connection and exit vt. Identify yourself to the remote server. prompts for a password (after disabling local echo) if a colon is appended to user-name. This com- mand must be executed before any file transfer command can be used. Shell escape. The given command is passed to a sub-shell for execution. If no command is given, a shell is started and connected to the user's terminal. Access Control Lists (ACLs) When sending or receiving files using optional ACL entries are removed. New files have a summary of the access modes (as returned in by of the file being transferred (see stat(2)). DIAGNOSTICS
The diagnostics produced by are intended to be self-explanatory. WARNINGS
uses the Hewlett-Packard LLA (Link Level Access) direct interface to the HP network drivers. uses the multicast address It should not be used or deleted by other applications accessing the network. uses the following IEEE 802.3 sap (service access point) values: and They should not be used by other applications accessing the network. When using on a system with multiple LAN cards installed, the optional command-line argument lan_device may be required if the remote sys- tem is not accessible through the default LAN device. The appropriate lan_device is the one connected (either directly or by way of other gateways) to the remote system. Desktop HP-UX If your system has been installed with the Desktop HP-UX product, neither nor will be started by default. To start these daemons, change PTYDAEMON_START and VTDAEMON_START from a to a in the and files, respectively. The system must be either rebooted for these changes to take effect, or you can start both daemons manually by typing the following commands: where /dev/lan0 is the character special device file corresponding to the IEEE 802.3 local area network device. FILES
Default lan device name. SEE ALSO vtdaemon(1M), stat(2), lan(7), acl(5). vt(1)
All times are GMT -4. The time now is 04:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy