01-25-2010
To Fetch a File From FTP server
I mean i have 2 unix servers (A, B) and one ftp server. only one unix server (let it be 'A') has privileges to get connect to ftp server and download a file. the another one which does not have privileges to connect to ftp server is UNIX server('B'). A and B unix servers have password less connections. Now i have to download a specific file from ftp server using UNIX server 'B'. please suggest on this.
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
Hi,
The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Discussion started by: ranjith_taurean
1 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies
5. Shell Programming and Scripting
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
6. Shell Programming and Scripting
Hello All,
I wanted to get the software to be fetched from the Service Provide URL to my unix server. I tired using the mget, but resulted in error. Please take a look.
$ wget -O V3-0-5-2.Solaris8-SPARC.tar.gz --http-user=hd87es3 --http-passwd=987dnja7 http://beyond.abinitio.com... (3 Replies)
Discussion started by: raghunsi
3 Replies
7. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
8. Shell Programming and Scripting
Hi,
I am trying to fetch the different values in an xml file by searching with the same variable in AIX Server.
<name>SharedResources/Shared/JNDI/Username</name>
<value>admin</value> <name>SharedResources/Shared/JNDI/Username</name>
... (1 Reply)
Discussion started by: tejastrikez
1 Replies
9. Red Hat
We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
Discussion started by: RHCE
3 Replies
10. Shell Programming and Scripting
HI Guys,
I want to download files from FTP Server to my Unix server.
I have tried , buy No Luck .
Below Command i have tried.
1-Wget - Error "wget' not found"
2.ftp -n $HOST ...Not Working.
3.scp -i ftp://user:passowrd@hostname:21/ran/on/test.txt
Any Suggestion (2 Replies)
Discussion started by: pareshkp
2 Replies
LEARN ABOUT MOJAVE
mount_ftp
MOUNT_FTP(8) BSD System Manager's Manual MOUNT_FTP(8)
NAME
mount_ftp -- mount a FTP filesystem
SYNOPSIS
mount_ftp [-i] [-o options] ftp://host[:port][/path] node
DESCRIPTION
The mount_ftp command mounts a FTP-enabled server directory at ftp://host[:port][/path] at the mount point indicated by node.
If the -i option is not used, all the required information to establish a login to the remote server must be available in the ftp URL,
including username & password if needed.
The user ID for all files and folders is set to the user's real user ID. The group ID for all files and directories is set to unknown, and
the permissions default to read and execute for user, group and other.
The options are:
-i Interactive mode, you are prompted for the username and password if you did not supply one in the url.
-o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man
page for possible options and their meanings. The rdonly option will be set even if it was not specified because mount_ftp does not
allow files to be opened with write access on servers.
ftp://host[:port][/path]
The FTP-enabled server directory to mount as a volume. If port is not specified, then port 21 is used. If path is not specified, then
the path "/" is used.
node Path to mount point.
EXAMPLES
The following example illustrates how to mount the FTP-enabled server directory ftp.apple.com/ at the mount point /Volumes/mntpnt/
mount_ftp ftp://ftp.apple.com/ /Volumes/mntpnt/
SEE ALSO
mount(2), unmount(2), mount(8)
HISTORY
The mount_ftp command first appeared Mac OS X Version 10.2.
RETURN VALUES
0 mount_ftp successfully mounted the server directory.
[ENOENT] The server directory could not be mounted by mount_ftp because the node path is invalid.
[ENODEV] The server directory could not be mounted by mount_ftp because it is not FTP-enabled or because it does not exist, or
because node does not have proper access.
[ECANCELED] The server directory could not be mounted by mount_ftp because the user did not provide proper authentication credentials.
BUGS
mount_ftp only supports mounting read-only.
Mac OS X June 6, 2003 Mac OS X