08-16-2007
FTP is using shell scripts create ? for file
ftp -n -v <<EOF
verbose
open 3.57.40.79
user infodvlp pr0gram
ascii
lcd /home/a501420038/GLA/Success_Load/
cd /ftp/SrcFiles/csg/InstruAsia/
get AU_Success_Log.txt
close
quit
EOF
Please help on this, this gives the out put "AU_Success_Log.txt?" As question mark in the last what will be the problem please suggest us.
due to this ftp problem my project go live is stopping.
regards,
Kishoore
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
i need a shell script to create 100 users i am running hp-ux.........
startegy is something like this
craete a shell script
!/bin/ksh
counter=1
while
do
{
useradd usr$counter
passwd usr$counter
# here begins my problem when i say passwd usr$counter
#it again prompts... (9 Replies)
Discussion started by: xiamin
9 Replies
2. Shell Programming and Scripting
Hey guys,
I am working on my shell scripts in wordpad in windows. Then, I upload it to my unix using psftp, but when I open those files with "vi" in Unix, there are all these "^M" characters in the file. Would anyone of you have a clue as to why?
Help would be appreciated.
Thanks,
Laud (4 Replies)
Discussion started by: Laud12345
4 Replies
3. Shell Programming and Scripting
If someone out there could help me out with this problem. I would really appreciate it.
I am trying to convert xml into text file(fixed length) using Unix Borne shell scripts.
My xml file:
<root>
<header_rec recordtype="00">
<record_id>00</record_id>
<country_code>AK></country_code>... (0 Replies)
Discussion started by: ram2s2001
0 Replies
4. Shell Programming and Scripting
hi all
how to create and remove desktop icons or icons from shell scripts? (1 Reply)
Discussion started by: kkpal
1 Replies
5. Shell Programming and Scripting
I run an application that creates a hostname_log.txt file on the c:\ of each windows workstation.
At the end of each day, these log files are FTP'd to a directory on a UNIX box.
When I run "ls -lrt", the timestamp that is displayed is the timestamp that the FTP occured, not the timestamp... (2 Replies)
Discussion started by: gavman99
2 Replies
6. Shell Programming and Scripting
Experts,
I am newbie in shell scripting. I want to write Bash shell scripts corresponding to windows bat files. I have installed cygwin at c:\cygwin and i am trying to crate the sh file using vi editor. i am not able to understand how to use linux/unix convention for the code. following is my... (1 Reply)
Discussion started by: rajuchacha007
1 Replies
7. UNIX for Dummies Questions & Answers
I am looking to do something where if I created a file named backup,or whatever it would print a name like “backup_Apr_11_2011”. Thanks citizencro (1 Reply)
Discussion started by: citizencro
1 Replies
8. Shell Programming and Scripting
Hi friends you can solve my question about make 3 shell scripts?
Thanks for all! (1 Reply)
Discussion started by: dakota
1 Replies
9. Shell Programming and Scripting
Hi Experts,
Kindly share scripts to find aging file and ftp to another server..
Example:
Find files more than 5 days and ftp to another server.
Please give suggestion :)
Thanks
Edy (1 Reply)
Discussion started by: edydsuranta
1 Replies
10. Red Hat
Hi,
We have one server - "ftpserver", just setup with RedHat 5.7.
ftpserver is able to get & put from another server, however, other server are unable to get or put in the ftpserver.
# su - ftpuser
$ pwd
/home/ftpuser
$ cd ..
$ ls -ltr
drwxrwxrwx 3 ftpuser ftpuser 4096 Sep 10 09:19... (0 Replies)
Discussion started by: beginningDBA
0 Replies
LEARN ABOUT REDHAT
simpleftp
SIMPLEFTP(1) General Commands Manual SIMPLEFTP(1)
NAME
simpleftp - rudimentary ftp client
SYNOPSIS
simpleftp ftp://... [ ... ]
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; i.e., ftp://ftp.isc.org/pub/usenet/CONFIG/active.gz is stored as active.gz in the current directory.
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/usenet/CONFIG/ without requir-
ing 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 simpleftp does not understand the complete syntax of URLs, only the hostname and pathname parts -- it will not under-
stand username, password, port or parameter strings.
HISTORY
Tossed off by David C Lawrence <tale@isc.org> for InterNetNews.
SEE ALSO
actsync(8).
SIMPLEFTP(1)