10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to get squid up and running using a redirector process, and every time I try to load a web page, squid fails miserably.
Can some one with perl and squid knowledge take a look at these codes and tell if something is wrong here.
#!/usr/bin/perl
#
$| = 1;
@endings = qw/... (0 Replies)
Discussion started by: jamie_123
0 Replies
2. Shell Programming and Scripting
Hi,
I am using below piece of code to get the size of the remote file.
$ftp->cwd($destination) or $error=$ftp->message;
if(!$error)
{
$ftp->put($file) or $error=$ftp->message;
print "FTP size = \n";
... (3 Replies)
Discussion started by: FarooqOnline
3 Replies
3. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
4. Shell Programming and Scripting
Is there a way to see or print a sub code?
Sometime a sub could be already defined, but in the debug mode (so, interactively) it could be already out of screen.
So, I would think about a way to check if the sub is defined (just 'defined' is not a problem) and how it is defined.
Also, if... (4 Replies)
Discussion started by: alex_5161
4 Replies
5. Shell Programming and Scripting
Wondering if anyone can help or advise on following issue.
The below script should simply connect to a different server and retrieve certain files for me.
use lib "/xxxxx/xxxxx/xxxxx/xxxx";
use Net::FTP;
my $directory = "xxxxxxxx";
my $destinationDir = "xxxxxxxxx";
my $filePrefix =... (1 Reply)
Discussion started by: meevagh
1 Replies
6. Shell Programming and Scripting
I am trying to execute a script in another server, i used Net::Ftp module
How to execute unix command in another server by using Net::Ftp module..
#!/usr/bin.perl
### Perl script to
$ftp->login($user_name,'password')
or die "Cannot login ", $ftp->message;... (2 Replies)
Discussion started by: pritish.sas
2 Replies
7. Shell Programming and Scripting
Hello,
I am trying to download several files from a remote FTP server using Net::FTP from within a perl script. The files download alright, except they appear to be corrupted. I know this because once after downloading, I use bzcat to pipe the files to a split command, and bzcat complains saying... (3 Replies)
Discussion started by: amcrisan
3 Replies
8. Shell Programming and Scripting
I installed Net::sftp on a solaris 8 server and I am able to successfully transfer files to the remote server. I am running the command out of a script with debug=1 on so I can see the verbose output.
The last two lines of the debug output show it couldn't fsetstat, but I don't know what that... (2 Replies)
Discussion started by: csgonan
2 Replies
9. HP-UX
How can I log ftp debug information?
I added in /etc/syslog.conf:
daemon.debug /var/adm/syslog/syslog.log
and then I stopped and started syslogd but it does not log anything... (1 Reply)
Discussion started by: untamed
1 Replies
10. Shell Programming and Scripting
Problem:
It will not advance to the next user in the list. It always dies right after it sends the 2/2 files from the first users dir.
$USERLIST="/export/home/mxdooley/perl_ftp/userlist";
$USER_DIR="/export/home/mxdooley/perl_ftp/homes";... (2 Replies)
Discussion started by: Optimus_P
2 Replies
NRPORTS(5) Linux Programmer's Manual NRPORTS(5)
NAME
nrports - NET/ROM port configuration file.
DESCRIPTION
Nrports is an ASCII file that contains information about each of the NET/ROM ports that are to be used. When dealing with an NET/ROM util-
ity such as call, it takes an optional argument that is the port name. This port name is a reference to the line within nrports, which has
the same name. The information on each line contains enough information to bind the command to a particular NET/ROM interface, this binding
is done by matching the callsign on the line in nrports with the callsign of the port set by ifconfig.
The nrports file may contain comments that begin with a # in the first column, or a port description in the following format, each field
being delimited by white space:
name callsign alias paclen description
The field descriptions are:
name this is the unique NET/ROM port identifier.
callsign the callsign of the NET/ROM interface to bind to.
alias this is the alias of the NET/ROM port.
paclen is the default packet size for this interface.
description a free format description of this interface, this field extends to the end of the line. It may contain spaces.
FILES
/etc/ax25/nrports
SEE ALSO
call(1), netrom(4), ifconfig(8), nrparms(8).
Linux 2 August 1996 NRPORTS(5)