UNIX FTP file problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX FTP file problem
# 1  
Old 06-16-2008
UNIX FTP file problem

Hi, I am new to this forum.

I have a problem and I ws hoping you guys can help me out here.

the problem: I have a batch job running on a Unix Server, and it transfers files from the unix server to another server. the series of commands are as follows:
> LS Listing the files
> Logging into the FTP server
> Issue ASCII command
> Issue command via FTP (quote CRTP FILE(SERVER/filename) RCDLEN(1063) SIZE(5000) )
> CP copy of the file from the temporarry folder to the next

this job happens simultaneously along with others using the same destination directory in the FTP server

can you help me please?
# 2  
Old 06-16-2008
If you can show us the commands you used,with the error , it would be useful fir us to guide you.

Also,what do you mean by this job happens simulataneously..?
# 3  
Old 06-18-2008
hi! first of all thanks for replying.

Those are the commands that are used. This batch job which runs these commands is run at the same time as other batch jobs which are also using the same FTP connection, as well as using the same server directory for file storage.
# 4  
Old 06-18-2008
I am sorry, but I'm unable to get what the problem is..

If the same server directory for file storage is your problem,do you have permissions to change the server directory..?
# 5  
Old 07-10-2008
hi, the problem is that sometimes the job that transfers files to the FTP server fails for some unknown reason. it has always worked, and now it fails from time to time. we do not know the reason why as there is no pattern for the error from which we can start investigation. all we know is that it either fails during the following commands: CP or QUOTE.

does anybody have any idea why these commands might fail?something for me to dig upon?

your answers are much appreciated. Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem with FTP from Unix to Windows

I am unable to use get or put command in a ftp session where remote system in Windows_NT. ftp> put rowb1_cbp14_20111116.txt local: rowb1_cbp14_20111116.txt remote: rowb1_cbp14_20111116.txt 227 Entering Passive Mode (10,130,6,29,14,245) (3 Replies)
Discussion started by: Naga06
3 Replies

2. Shell Programming and Scripting

Problem with FTP from Unix to Windows

I am unable to use get or put command in a ftp session where remote system in Windows_NT. ftp> put rowb1_cbp14_20111116.txt local: rowb1_cbp14_20111116.txt remote: rowb1_cbp14_20111116.txt 227 Entering Passive Mode (10,130,6,29,14,245) Pls suggest a way. (0 Replies)
Discussion started by: Naga06
0 Replies

3. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

4. UNIX for Dummies Questions & Answers

Problem in FTP from Unix to Mainframes

Hi, I have one file to FTP from Unix to mainframe. It has been successfully FTPied. But problem is my Unix file will be generated as file_name1.sh. But Mainframes side they need file in file.name1.sh. So they dont need underscore (_) in the file name. Please let me know if there is any solution... (1 Reply)
Discussion started by: manneni prakash
1 Replies

5. UNIX for Dummies Questions & Answers

Problem with FTP o n Unix SCO

my problem is like this while ftping locally it works, but when users from WAN try the ftp services it doesnt comes the message it displays is as follows "connection closed by remote host " please help Thanks (5 Replies)
Discussion started by: Athos19
5 Replies

6. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

7. HP-UX

Syntax problem with Unix ftp get command

An outside vendor has staged 2 batch files for us and I've tried to retrieve the files using the commands that they've indicated I could use to retrieve one file at a time. I've tried using this command in a shell script after a successful connection to their server: get "$$ ID=IL096869 BID='PGP... (2 Replies)
Discussion started by: mheinen
2 Replies

8. UNIX for Dummies Questions & Answers

FTP problem on unix-server

hi there, i am a sap-programmer and i sent pdf-files via FTP from sap (on an iseries-machine) to a UNIX-server every day. i am doing it via MPUT *.pdf It works well until today. I got the ftp-message "Arguments too long"....i searched for it in the internet and here in the forum. it says... (9 Replies)
Discussion started by: smartin999
9 Replies

9. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

10. Shell Programming and Scripting

FTP on Reliant UNIX - script problem

Hello... I have script that works perfect on solaris but on Reliant UNIX sometimes it does not work ...I send files to my Xp(from Reliant UNIX) but if I try to send it to my solaris machine file can not be send... script is: #!/bin/ksh localFile=$1 remoteFile=$2 ... (0 Replies)
Discussion started by: amon
0 Replies
Login or Register to Ask a Question