02-28-2008
Transfer it under a different name, then use the ftp rename command to move it over once it's finished.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm using the below script to ftp the file passed as 3rd argument. I'm passing the source and destination directory as 1st and 2nd argument. This script does the ftp successfully.
The script displays the echo before ftp stmt and does the ftp and does not display the stmts after that... (4 Replies)
Discussion started by: acheepi
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Can anybody tell me that how I can check for my ftp stability in my system for past few weeks??
Thanks. (2 Replies)
Discussion started by: efang
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
OS - Unix
Iam doing the following:
after login to the unix box
1. change directory
2. run a shell script "preinstall.sh"
3. This takes apprx 5 mins
4. after which i use to change permission of a file "installhub.sh" (this file is generated from the previous step).
Is there anyway... (2 Replies)
Discussion started by: kenkanya
2 Replies
5. Shell Programming and Scripting
To all,
I need to run a ftp command in one of my scripts and I need to evaluate what happens after it's done. The problem is the script would not capture the ftp responses. If I type the same thing on the command
line, I get all kinds of responses. I would like to capture the same responses in... (2 Replies)
Discussion started by: april
2 Replies
6. Shell Programming and Scripting
Hi
I use a shell script to transfer files from UNIX to Windows 2000 server before the FTP i need to check whether any files with the same name exists. If the files are already present it need not be FTPed else the file should be FTPed.
Kindly help me. (2 Replies)
Discussion started by: Codesearcher
2 Replies
7. Shell Programming and Scripting
:mad: Hi All,
I have written a script, which will get the file from other server through FTP.
It is working fine, but i want to add a code which should first check, if the file is available in the source system and then do FTP, once successfully completed, it should delete the file.
Is... (4 Replies)
Discussion started by: Amit.Sagpariya
4 Replies
8. Shell Programming and Scripting
hello
i need check if file_name exist on remote FTP or not
the FTP is anonymous and doesnt require username/pass (3 Replies)
Discussion started by: mogabr
3 Replies
9. Shell Programming and Scripting
Hi,
I have a wierd requirement where i need to check for a file transfered to my Server and once it is completed i need to start processing my jobs.
My server is AIX 6.0 and i want to know is there some way in unix i can keep on checking the file and once it is completed successfully i can... (5 Replies)
Discussion started by: prasson_ibm
5 Replies
10. UNIX for Beginners Questions & Answers
how to check if any files are being FTP'ed currently ? both FTP in and FTP out. And is there any system log for all the FTP activities ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT SUSE
simpleftp
SIMPLEFTP(1) InterNetNews Documentation SIMPLEFTP(1)
NAME
simpleftp - Rudimentary FTP client
SYNOPSIS
simpleftp url [...]
DESCRIPTION
simpleftp is a Perl script that provides basic support for fetching files with FTP in a batch oriented fashion. It takes one or more FTP
URLs on the command line. The file(s) will be retrieved from the remote server and placed in the current directory with the same basename
as on the remote; e.g., <ftp://ftp.isc.org/pub/usenet/CONFIG/active.gz> is stored as active.gz in the current directory.
The script properly understands usernames, passwords and ports specified as follows:
ftp://user:password@host:port/path/file
BUGS
simpleftp is an extremely poor substitute for more complete programs like the freely available wget or ncftp utilities. It was written
only to provide elementary support in INN for non-interactive fetching of the files in <ftp://ftp.isc.org/pub/pgpcontrol/> or
<ftp://ftp.isc.org/pub/usenet/CONFIG/> without requiring administrators to install yet another package. Its shortcomings as a general
purpose program are too numerous to mention, but one that stands out is that downloaded files by simpleftp override existing files with the
same name in the local directory.
HISTORY
Tossed off by David C Lawrence <tale@isc.org> for InterNetNews. Rewritten to use "Net::FTP" by Julien Elie.
$Id: simpleftp.pod 8357 2009-02-27 17:56:00Z iulius $
SEE ALSO
actsync(8).
INN 2.5.2 2009-05-21 SIMPLEFTP(1)