How can an automated script be setup to run at a later time in the day. cron runs recurring tasks. I am interested in a one time process.
I want to back up a number of files whenever I make changes to an application and ftp for backup purposes. The script to automate the zipping of files has... (1 Reply)
Is there any command which displays date while i am in a ftp session?
I tried the date command, but in vain
ftp> date
?Invalid command
ftp>
Can someone please help me. Thanks (2 Replies)
Hello all,
I have written a shell script which would prompt the user to enter some name and a folder would be created by that name.
This script should run automatically when the users provide there credentials during a FTP session and for every FTP session.
And after they have provided there... (5 Replies)
In FTP session, how could know the present working directory in local machine? pwd command gives the present working directory for remote machine only. (2 Replies)
Dears,
i want to execute unix commands through FTP session those commands like grep XXXXX file name > new file
tar new file
..... etc
Please let me know how to so
thank you (3 Replies)
Hello ,
My requirement is as follows:
I want to connect to a remote FTP server using FTP and then get the latest file from server location
can u pls share code snippet for this ?
Regards,
Suresh (4 Replies)
Hi,
I have a requirement, where i have to check multiple folders(number of folder may vary) for a file and fetch the file one at a time and load it.
On the ftp part, I fetch the file, Copy it to Archive folder and then remove the original file
for flist in $folder_list; do
print -p... (6 Replies)
Hi guys,
I am using a script that run ftp and transfer file from my source server to the destination server.
Since i have transferred my files to the destination server, now i want to run a script at the destination server.
Could you please help me regarding how to run a script in a ftp... (7 Replies)
Hello,
I'm a UNIX SysAdmin at a large webhosting company and we have a vendor that provides a service which involves the ftp'ing of files from their servers to ours. They initiate FTP using a perl script with NET::FTP.
When they try to transfer files (and delete files over ftp), there is... (3 Replies)
Hi All , I want to use pipe in ftp session . Please let me know if there is any possibility
I have done FTP to a remote host with proper username and password
Now I want to take the latest file in a directory . The below is not workinf
ftp> ls -lrt |... (4 Replies)
Discussion started by: Sandeep Lade
4 Replies
LEARN ABOUT SUNOS
ftp
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)