05-10-2010
Yes , I am behind a firewall. But, the issue is what if I don't have the wget utility installed on my server? meaning, I cannot use the wget solution you provided. How can use ftp to download the file? I have the ftp server which is in the form of
ftp.example.com and I also have the username and password and the directory the file is in.
Thanks a lot Jilagre
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
Dear all,
I am trying to push a data file to a remote Server. I am taking date variable from the database.
The file I want to push looks like this in /tmp
hostname.export.beforedate.dmp.gz
for reading the date from the database i have a file get_date.sql which contains
select... (2 Replies)
Discussion started by: shivaraj
2 Replies
3. 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
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. 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
6. 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
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. 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
9. Shell Programming and Scripting
Below is my script code.which shows the environment name and then fetch the file from the ftp server but I am facing one issue.The script should be run in both way.We can pass the arguments with script and select the environment name then file name.Here the issue is I am not able to list the files... (1 Reply)
Discussion started by: anuragpgtgerman
1 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
wdel(1) Internet Applications - FTP wdel(1)
NAME
wdel - A wget-like program for deleting files on ftp servers
SYNOPSIS
wdel [option]... [URL [file]...]...
DESCRIPTION
Wdel is a free utility that is able to delete files on an ftp server.
Wdel is non-interactive and background-capable. It can delete files or whole directories and is meant to be a robust client even for unsta-
ble connections and will therefore retry to delete a file, if the connection broke.
Wdel supports connections through proxies, allowing you to use it in an environment that can access the internet only via a proxy or to
provide anonymity by hiding your ip-address to the server. For SOCKSv5-proxies Wdel supports also listening mode, allowing you to use
port-mode ftp through a proxy (useful if the remote ftp is behind a firewall or a gateway).
URL-Input-Handling
URLs are recognized by the ftp://-prefix.
Wdel first reads the URLs from the command line, and associates every file with the last URL until a new URL is found (note that this is
different from wput). Then, it reads the --input-file (if any) and parses the URLs in the same way. So you can specify e.g. one URL and
read all filenames from a file.
If there are no explicit filenames given for a singe URL, then the last part of the URL is taken to be the file/directory to be deleted. If
there are filenames, then the last part of the URL is considered to be the directory where these files reside in. Slashes at the end of the
URL or the filename (in case it is a directory to be deleted) are ignored.
OPTIONS
There are no special options introduced by Wdel. All of Wput's options may be supplied, although some will not be of any effect because
they do not apply for the process of deleting files. Please see wput(1) for a description of the options.
SEE ALSO
Many options can be set in a wputrc file. For its documentation consult the sample file provided by Wput.
wput(1) describes all setable options. Not all apply for wdel too though.
AUTHOR
Wdel is written by Hagen Fritsch <fritsch+wdel-man@in.tum.de> and Jan Larres <jan@majutsushi.net>
Hagen Fritsch, Jan Larres 0.6.2 wdel(1)