FTP is using shell scripts create ? for file


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting FTP is using shell scripts create ? for file
# 1  
Old 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
# 2  
Old 08-16-2007
I think your ftp client is asking a confirmation for each file you want to get. Try inserting the command "prompt" after the "ascii" command and see if it works.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

[Solved] FTP 553 Could not create file.

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

2. Shell Programming and Scripting

[HELP] Scripts moving aging file by FTP

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

3. Shell Programming and Scripting

How I can create this Shell scripts?

Hi friends you can solve my question about make 3 shell scripts? Thanks for all! (1 Reply)
Discussion started by: dakota
1 Replies

4. UNIX for Dummies Questions & Answers

shell scripts - create a filename with the date appended

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

5. Shell Programming and Scripting

Create Bash shell scripts corresponding to windows bat files

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

6. Shell Programming and Scripting

How do I access the create date from Windows after the file has been FTP'd to UNIX ?

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

7. Shell Programming and Scripting

how to create and remove desktop icons from shell scripts

hi all how to create and remove desktop icons or icons from shell scripts? (1 Reply)
Discussion started by: kkpal
1 Replies

8. Shell Programming and Scripting

Plz Help To convert xml file to text file using bourn shell scripts

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

9. Shell Programming and Scripting

FTP Shell Scripts from Windows to Unix: files have exotic characters

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

10. UNIX for Dummies Questions & Answers

shell scripts to create 100 users

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
Login or Register to Ask a Question