04-26-2005
Thank you for the response. This would be easy if the ftp server wasn't Windows; however, the ftp server is windows, and the ftp script is running from a unix server using the bash shell.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I had a question on something which i have trying to add to my current shell script which does FTP of files from my local machine to a remote server.
I have 5 files which i zip and FTP them on daily basis to a remote server. My script is as below:
############################... (6 Replies)
Discussion started by: bsandeep_80
6 Replies
2. Shell Programming and Scripting
Hi,
please advise what function in perl or system call in shell that will generate cpu usage that is higher than usual? I would like make such a script, to test a monitoring feature.
TIA.
Marc (1 Reply)
Discussion started by: marcpascual
1 Replies
3. Shell Programming and Scripting
Hi all,
I'm using the following script to automated ftp files to 1 ftp servers
host=192.168.0.1
/usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp
open $host
bin
cd ${directory}
put $files
quit
ftp
and the .netrc file contain
machine 192.168.0.1
login abc... (4 Replies)
Discussion started by: varu0612
4 Replies
4. Programming
I've been going through a java tutorial, and ran across some strangeness in this small example...
class SqrRoot {
public static void main(String args) {
double num,sroot,rerr,resquare;
for(num = 1.0; num < 100.0; num++) {
sroot = Math.sqrt(num);
... (1 Reply)
Discussion started by: Trones
1 Replies
5. Shell Programming and Scripting
so i got this request to do this:
- Script should check for the file ever 15 minutes on the FTP server…if the file is not found, then the whole script exits. File will only be created one a week at random.
i have gotten this far, but am kind of stuck, also sleep command doesnt work... (3 Replies)
Discussion started by: zapatur23
3 Replies
6. Solaris
i have a vmware workstation with solaris 10 installed on this.
i copying 2 gb data via samba from windows to this vmware workstation.
copy speed is 24 kb/sec.
how i can speed up this copy process ? (7 Replies)
Discussion started by: rehantayyab82
7 Replies
ftp(4) File Formats ftp(4)
NAME
ftp - FTP client configuration file
SYNOPSIS
/etc/default/ftp
DESCRIPTION
Use the ftp file to configure the behavior of the FTP client. Lines that begin with a hash symbol ("# ") are treated as comment lines and
are ignored.
Behavior Directives
The ftp file supports the following behavior directives:
FTP_LS_SENDS_NLST=yes | no
The ls command of the ftp client sends an NLST to the FTP Server by default. Several non-Solaris clients send LIST instead. In order to
make the Solaris ftp client send LIST when the ls command is issued, set FTP_LS_SENDS_NLST to no. The value of FTP_LS_SENDS_NLST is yes
by default.
If the user sets a value for FTP_LS_SENDS_NLST in the user's environment, this value will override any FTP_LS_SENDS_NLST directive that is
specified in /etc/default/ftp.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbipr |
+-----------------------------+-----------------------------+
SEE ALSO
ftp(1), attributes(5)
SunOS 5.10 22 Oct 2002 ftp(4)