10-05-2010
What is the output from the ftp "status" command while connected to the remote system.
Just type "status" at the ftp prompt.
We want to know the settings of the remote ftp server and whether they mentions globbing.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file --> file1.txt
i need to copy this file to another server using FTP....the 2 servers are server1 and server2..may i know how to write a script that can do this?
thanks in advance! Im a newbie to this... (4 Replies)
Discussion started by: forevercalz
4 Replies
2. Shell Programming and Scripting
Hello All,
I've to write a shell script to transfer some files to/from windows server.
I can put & get files simply by doing ftp but need to automate this.
So I tried for this -.
HOST=.hostname
USER='username'
PASSWD='***'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS... (8 Replies)
Discussion started by: shilpa.rajput
8 Replies
3. Shell Programming and Scripting
Hi,
Please advice whether my below requirement is feasible,
My requirement : Automated FTP from linux server to windows server using a shell script on every monday.
If feasible, please help me how to do this ?
Thanks in advance (2 Replies)
Discussion started by: apsprabhu
2 Replies
4. Shell Programming and Scripting
Hi
Can any one help me for script. I need a script and this script has to execute daily to move the files.
FTP from one server to another server
EX: Sep 10 06:24 abc.txt
Sep 11 06.56 abc.txt
Sep 12 08.23 abc.txt
these files are located at a/b/c/e/f in 123 server and copy... (0 Replies)
Discussion started by: mahantysk
0 Replies
5. Shell Programming and Scripting
Hi,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.
Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files
from windows to unix box.When I searched in the... (10 Replies)
Discussion started by: kavithakuttyk
10 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys Any Help
I have created a spool file that i need to copy onto another server using FTP in a shell script both servers are linux (3 Replies)
Discussion started by: itai
3 Replies
7. Shell Programming and Scripting
script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
8. Shell Programming and Scripting
suppose one file comes in one sever location on MOnday.we have to write a script to automatically get that files and put it in different server location.
---------- Post updated at 10:28 AM ---------- Previous update was at 10:27 AM ----------
Please help me on this (2 Replies)
Discussion started by: sonam273
2 Replies
9. Shell Programming and Scripting
I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies
10. Shell Programming and Scripting
Hello this is my first post in this forum , I dont want to be unhappy..
I am writing one script but facing difficulty to find the latest file with some new pattern
My requirement is
1. The file is coming like "ABCD-23220140303" at FTP server once in a week.
2. script will run on daily... (3 Replies)
Discussion started by: ajju
3 Replies
NETRC(5) BSD File Formats Manual NETRC(5)
NAME
netrc, .netrc -- user configuration for ftp
DESCRIPTION
This file contains configuration and autologin information for the File Transfer Protocol client ftp(1).
The .netrc file contains login and initialization information used by the auto-login process. It resides in the user's home directory. The
following tokens are recognized; they may be separated by spaces, tabs, or new-lines:
machine name
Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote
machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are
processed, stopping when the end of file is reached or another machine or a default token is encountered.
default This is the same as machine name except that default matches any name. There can be only one default token, and it must be after
all machine tokens. This is normally used as:
default login anonymous password user@site
thereby giving the user automatic anonymous ftp login to machines not specified in .netrc. This can be overridden by using the -n
flag to disable auto-login.
login name
Identify a user on the remote machine. If this token is present, the auto-login process will initiate a login using the specified
name.
password string
Supply a password. If this token is present, the auto-login process will supply the specified string if the remote server requires
a password as part of the login process. Note that if this token is present in the .netrc file for any user other than anonymous,
ftp will abort the auto-login process if the .netrc is readable by anyone besides the user.
account string
Supply an additional account password. If this token is present, the auto-login process will supply the specified string if the
remote server requires an additional account password, or the auto-login process will initiate an ACCT command if it does not.
macdef name
Define a macro. This token functions like the ftp macdef command functions. A macro is defined with the specified name; its con-
tents begin with the next .netrc line and continue until a null line (consecutive new-line characters) is encountered. If a macro
named init is defined, it is automatically executed as the last step in the auto-login process.
SEE ALSO
ftp(1), ftpd(8)
Linux NetKit (0.17) September 23, 1997 Linux NetKit (0.17)