11-30-2005
check out the "-i" option to ftp ...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The script below is written to ftp files to different directories on the destination server, but I'm not sure whether I have written the code correctly or not.
Can anyone help me on this?
#!/bin/sh
FILE_NAMES="FileA
FileB
FileC"
SERVER=xxxx
USERID=abcd
PASSWD=xxxxx... (12 Replies)
Discussion started by: abrd600
12 Replies
2. Shell Programming and Scripting
Hi guys...
I'm working on #!/bin/sh script in a Solaris 7 box that should send several files over to another machine via FTP. Here's what the script looks like:
# This script will send the daily MSP customer counts
# to the Crystal Reports server located at 192.168.2.106
cd... (2 Replies)
Discussion started by: cdunavent
2 Replies
3. Shell Programming and Scripting
Hi,
I have a situation where I need to delete multiple files from a folder once I connect to FTP server. I am using ftp script to get the files, number of files always vary from 1 to 100. once I get the files I need to delete all the files downloaded I am making a list of all the files... (4 Replies)
Discussion started by: mgirinath
4 Replies
4. IP Networking
I have seen the script posted yesterday for automated ftp
Can we do some thing like ftp ing multiple files in one script
Example input.txt has all files names to be ftped
input.txt ------
a.tar
b.ccp
c.perl
i need to ftp all the files present in input.txt
i tried something like... (0 Replies)
Discussion started by: pbsrinivas
0 Replies
5. Shell Programming and Scripting
We have a files in FTP server..... after getting the files from FTP by
mget *.*
i hav to remove all files (multiple files) at once...
is there any command to delete multiple files at once (2 Replies)
Discussion started by: nani1984
2 Replies
6. Shell Programming and Scripting
I have multiple files that starts as TRADE_LOG spread across multiple folders in the given structure..
./dir1/1/TRADE_LOG*.gz
./dir2/10/TRADE_LOG*.gz
./dir11/12/TRADE_LOG*.gz
./dir12/13/TRADE_LOG*.gz
when I do ftp uisng mput from the "." dir I am getting the below given error
mput... (1 Reply)
Discussion started by: prasperl
1 Replies
7. Shell Programming and Scripting
Hi All,
I am using ncftpput in one of my c-shell script to upload files to a remote location. The source files keep coming continuosly and to upload each file ncftpput opens a new connection everytime. It means ncftp uploads the file1 than file2 than file3 .... There is gap 20-25 secs between... (10 Replies)
Discussion started by: sraj142
10 Replies
8. Shell Programming and Scripting
Hi All,
i am doing ftp
how can i transfer multiple different files
example-
03-21-13 06:33AM 46800 CATT_HOURS.pgp
03-21-13 06:33AM 266392 CATT_TAX.txt
03-21-13 06:33AM 91448 CATT_STATUS.txt
03-21-13 06:33AM 468 ... (3 Replies)
Discussion started by: krupasindhu18
3 Replies
9. Shell Programming and Scripting
Hi,
I have a problem while ftp'ing zip files one after the other from linux source directory to a ftp host machine. here is the shell script:
#!/bin/ksh
dir=data/dir1/dir2 # this dir is linux source directory where zip files located.
rmtdir='/home/'
echo $dir
for i in /$dir/*; do
if ;... (7 Replies)
Discussion started by: raj78
7 Replies
10. Shell Programming and Scripting
Hello!
I'm having a bit of trouble coming up with a script that can connect to 3 different log boxes and pull down files for that day into a single directory, where the files will all have the same name as per:
stats_websites_20150801010000-20150801015959.csv.gz... (2 Replies)
Discussion started by: Cludgie
2 Replies
LEARN ABOUT NETBSD
sysinst
SYSINST(8) BSD System Manager's Manual SYSINST(8)
NAME
sysinst -- install or upgrade a NetBSD system
SYNOPSIS
sysinst [-D] [-f deffile] [-r releasename]
DESCRIPTION
sysinst is a menu-based program that may be used to install or upgrade a NetBSD system. It is usually invoked automatically when the system
is booted from appropriate installation media.
sysinst is usually not present on a NetBSD system that has been fully installed.
OPTIONS
-D Switch on debugging.
-r releasename Set the releasename if it is different to the one compiled. Currently unused.
-f deffile Set a file for definitions other than the defaults. See DEFINITION FILE for its format.
DEFINITION FILE
The definition file is used to set several other names and directories to search for. You can specify any of the options in the file. They
are stored as:
option = value
pairs. In this description, REL and MACH are the release and architecture respectively, determined by the image sysinst is used on.
option name default value description
release REL Release name (also set by -r releasename).
machine MACH Machine architecture
xfer dir /usr/INSTALL Transfer dir
ext dir Extract dir (will usually be set later on)
ftp host ftp.NetBSD.org ftp host for fetching files
ftp dir pub/NetBSD/NetBSD-REL ftp directory for fetching files
ftp prefix /MACH/binary/sets directory to look for sets. Note that this is used for all kinds of fetching (CDs, local FS,
...), not only ftp.
ftp user ftp ftp user for connecting
ftp pass - ftp password
ftp proxy - ftp proxy
nfs host - nfs host for fetching via nfs
nfs dir /bsd/release nfs directory for fetching files
cd dev cd0a name of the CD device for fetching files
fd dev /dev/fd0a name of floppy for fetching files
local dev - Other device to be mounted for fetching files
local fs ffs FS-type for local dev
local dir release Directory to look for in the mounted local fs
targetroot mount /targetroot Directory to mount target root dir to
dist postfix .tgz Suffix of set files to be extracted
diskname mydisk disktab(5) diskname to use for target disk
SEE ALSO
release(7), afterboot(8), boot(8), diskless(8)
<machine>/INSTALL.* files on CD-ROM installation media .../NetBSD-<rel>/<machine>/INSTALL.* files in NetBSD releases or snapshots.
HISTORY
A sysinst command appeared in NetBSD 1.3.
BSD
September 17, 2011 BSD