Sponsored Content
Top Forums Shell Programming and Scripting Having a problem with a FTP Script using perl Post 302152348 by scottzx7rr on Wednesday 19th of December 2007 04:34:42 PM
Old 12-19-2007
Sorry that is a typo. I have the period there. I have updated the orginal post to reflect the typo.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

problem with ftp script...please help

Hi, I'm writing an ftp script that is trying to connect to a remote NT box. Here is my script: ftp -i ipaddress user username password ascii cd db_Backup lcd /home/dB_backups put *.sql bye When I run this script I get the following error: 500 'AUTH GSSAPI': command not... (2 Replies)
Discussion started by: vancouver_joe
2 Replies

2. Shell Programming and Scripting

FTP Script Problem

Hi, Firstly, I would like to admit that I am a scripting newb. :) Now, to my question: I am writing a script that FTPs a bunch of logs from one server to another, it will be scheduled in Cron to run every 20 minutes. Currently, the file transfer part of the script is fine. However,... (2 Replies)
Discussion started by: reebz
2 Replies

3. Shell Programming and Scripting

FTP script and problem

We have a script where we're trying to ftp to an outside ftp server, but it keeps failing with the error: 421 Service not available, remote server has closed connection if we ftp <server> and manually enter the username and password from the Unix box it's just fine. But when we try to... (1 Reply)
Discussion started by: lawadm1
1 Replies

4. Shell Programming and Scripting

Help deciphering FTP get perl script

I found this very useful perl script that will check a remote ftp server, search for files of a specific time and get them. When I run the script it works, but it gave me the following error: Couldn't get filename_12-13-07.txt Bad file number What in this script would cause this? I know... (2 Replies)
Discussion started by: bbbngowc
2 Replies

5. Solaris

FTP Script Problem

Hi Everybody, I am working on FTP Script (i,e Parser.sh,Upload.sh) and the contents of the same are mentioned below .., #!/bin/bash if ; then echo "Usage ./Parser.sh IP USERNAME PASSWORD SOURCE FILENAME DESTINATION where IP ------------- IP address of remote... (0 Replies)
Discussion started by: prasanth_babu
0 Replies

6. Shell Programming and Scripting

FTP Perl Script File Size Mismatch.

Hello, I've written a Perl script that copies a set of files from one server to another. Prior to transferring a file the script gets the file size from the source system and compares this to the file size received in the target system. Except that the file sizes are slightly different. ... (1 Reply)
Discussion started by: mbb
1 Replies

7. Shell Programming and Scripting

problem while using FTP in shell script

Hi all, I am having problem while using FTP in shell script.I am downloading a file from other machine.Part of file name is known to me(in red) 20100114123814.portin.virginsubs.extract What i am doing is trying to get the file using get command with wild card "*" (see below) but it fails... (1 Reply)
Discussion started by: vinoo128
1 Replies

8. Shell Programming and Scripting

script FTP in perl

this script should search directories read,,search for file for daily reports. you must provide the beginning day, ending day and month. this script will pull files for days and month specified and Ftp them to another server. Thanks for any help you provide (2 Replies)
Discussion started by: lemseffert
2 Replies

9. Shell Programming and Scripting

Unable to get the size of remote file using Net::FTP Perl Script

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

10. Shell Programming and Scripting

FTP download using perl script

Need assistance I have a script which i can download the files from ftp server using perl . But i want to download multiple files at a time #!/usr/bin/perl -w use Net::FTP; $ftp = Net::FTP->new("ftp.ncdc.noaa.gov"); $ftp->login('username', 'password'); $ftp->cwd("<dir>");... (9 Replies)
Discussion started by: ajayram_arya
9 Replies
LSMBOX(1)						      General Commands Manual							 LSMBOX(1)

NAME
lsmbox - list number of total, old unread, and new messages for the specified mailbox(es) SYNOPSIS
lsmbox [OPTION]... [MAILBOX]... DESCRIPTION
lsmbox lists the number of messages in a mailbox. Both total, unread but old, and new messages can be listed, for one or several mailbox files. Non-existing or empty mailboxes will be silently ignored. If the program has been compiled with curses support, you can execute a predefined command on a mailbox by choosing that mailbox using the cursor keys and pressing enter. If the program has been compiled with ncurses, the command can also be executed by clicking on the mailbox with the mouse-pointer. By default, lsmbox will look in $MAIL (if defined) or /var/spool/mail/USERNAME for the inbox, and in $HOME/Mail/ for other mailboxes. This can be overridden by changing the default paths in $HOME/.lsmboxrc. See lsmboxrc(5) for further details. If $HOME is not defined on your system, the program will look in the current directory for mailboxes. If no mailbox is given as an argument, the program will default to listing information about the mailboxes listed in $HOME/.lsmboxrc. If no default mailboxes have been specified in that file, or if that file does not exist, the program will abort with an error. A filename of ! denotes your inbox. A leading ("=") or ("+") in a filename will be expanded into the path to your mail-directory. If the name of a mailbox given at the command-line contains a path-separator ("/"), it is assumed that the default mailbox path shall be ignored for that entry, unless it has a leading ("=") or ("+"). OPTIONS
-c, --continuous Update statistics continuously rather than just listing them once. Exit with `q' (waits for the next mailcheck to finish) or `<ctrl> + c' (aborts immediately). Note: this option is only available if the program has been compiled with curses support -i, --check-interval Interval in seconds between each update of the statistics. This option overrides the environment variable $MAILCHECK. Using a low interval will give you faster notification of newly arrived e-mail, but will put increased load on your system. Note: this option is only available if the program has been compiled with curses support -n, --new-only Only display mailboxes with new messages (and old unread, if the mark_old option has been unset) -o, --no-old Do not display the number of old messages each mailbox contains -p, --padding Width to use for the mailbox column; leave empty to use the smallest possible -s, --no-summary Do not display a summary of the statistics for all mailboxes -S, --short-names Only display the name of the mailbox rather than the full path -t, --no-total Do not display total number of messages each mailbox contains --help Display help for the command --version Display version and author information ENVIRONMENT
MAILCHECK Interval in seconds between each update of the statistics. EXAMPLES
To get information about your inbox: lsmbox ! To get information about the mailboxes debian-devel, linux-kernel, and spam: lsmbox debian-devel linux-kernel spam To get information about the mailbox test which resides in your home directory: lsmbox ~/test To use lsmbox to keep track of updates in all mailboxes listed in $HOME/.lsmboxrc: lsmbox -c FILES
$HOME/.lsmboxrc Personal preferences for lsmbox. SEE ALSO
lsmboxrc(5), mbox(5) HISTORY
Apr 16 2006: Updated for v2.1.0 of lsmbox. Apr 16 2004: Updated for v2.0.0 of lsmbox. Mar 13 2004: Updated for v1.9.0 of lsmbox. Mar 15 2003: Updated for v1.7.0 of lsmbox. Jan 16 2003: Minor fixes. Jan 06 2003: Minor fixes. Dec 09 2002: Minor fixes. Nov 06 2002: Updated for v1.5.0 of lsmbox. Oct 30 2002: Updated for v1.4.2 of lsmbox. Oct 30 2002: Fixed a typo. Oct 30 2002: Updated for v1.4.0 of lsmbox. Oct 29 2002: Updated for v1.3.1 of lsmbox. Oct 29 2002: Updated for v1.3.0 of lsmbox. Oct 28 2002: Fixed a typo. Oct 26 2002: Updated for v1.1.0 of lsmbox. Oct 26 2002: Updated for v1.0.1 of lsmbox. Oct 21 2002: Initial release. AUTHOR
lsmbox and its manual-pages are written by David Weinehall <tao@acc.umu.se> REPORTING BUGS
Report bugs to <tao@acc.umu.se>. COPYRIGHT
Copyright (C) 2002-2006 David Weinehall This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. David Weinehall Apr 16, 2006 LSMBOX(1)
All times are GMT -4. The time now is 10:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy