ftp going crazy


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ftp going crazy
# 1  
Old 12-16-2006
ftp going crazy

Dear Friends,

I am having a crazy issue with ftp.
I am doing 'mput' of 4 files (z1, z2, z3, z4) as below. But ftp transfers only every alternative file !! - ie; If I do mput z* for above, it sends only z1 and z3. Note that all the files are same and I tried this for several dummy files. All works the same way.

Any idea what is going wrong here.
Please help me I am also going crazy with my ftp. Please.

ftp> mput z*
mput z1? y
200 PORT command successful.
150 Opening ASCII mode data connection for z1.
netout: write returned 0?
226 Transfer complete.
mput z2? y
Sat Dec 16 19:33:51 2006 1 nygshutl05n2.us.db.com 0 /usr/sap/transfer/us/ny/gid/out/z1 a _ i r usnygido ftp 0 * c
Invalid reply.
200 PORT command successful.
mput z3? y
200 PORT command successful.
150 Opening ASCII mode data connection for z3.
netout: write returned 0?
226 Transfer complete.
mput z4? y
Sat Dec 16 19:33:57 2006 1 nygshutl05n2.us.db.com 0 /usr/sap/transfer/us/ny/gid/out/z3 a _ i r usnygido ftp 0 * c
Invalid reply.
200 PORT command successful.
# 2  
Old 12-19-2006
use "prompt" before issuing the "mput" command so that you will no longer be asked for confirmation.

this should look like:

Code:
ftp> prompt
ftp> mput z*
ftp>bye

hope this helps Smilie
# 3  
Old 12-20-2006
It has not helped.

Any idea with this below message :
netout: write returned 0?


yoursdivu.
# 4  
Old 05-02-2008
netout: write returned 0?

I believe this it telling you...that you are transferring and zero byte file...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Crazy Syntax

Hello All, was looking at a script wrote by someone and when I try and run it in ksh it gives me an error. Could ksh version be a problem or is there something wrong that I'm missing, when I run it from the command line it works. Thanks! results=`sudo -u admin ssh... (1 Reply)
Discussion started by: akechnie
1 Replies

2. What is on Your Mind?

Here's To The Crazy One

Please excuse my indulgence. Thank you MG Siegler and Steve Jurvetson. But most importantly, thank you Steve Jobs. 8rwsuXHA7RA The world has lost a genius. (1 Reply)
Discussion started by: Scott
1 Replies

3. Homework & Coursework Questions

Crazy Dots

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Create a script called DOTS that will display the horizontal or vertical number of dots if the first argument... (3 Replies)
Discussion started by: pchelpmtl
3 Replies

4. Shell Programming and Scripting

Finger has gone crazy

Two things : On the first place i am really desperate, on the second i am about to throw my laptop away to the recycle bin in a while. Ok now that i expressed my feeling let me describe you this mad situation. Code: print $1; ("finger -m " $1 "| head -1") | getline userinfo print... (6 Replies)
Discussion started by: beatblaster666
6 Replies

5. What is on Your Mind?

crazy dreams..

well, Wine is simply amazing.. I love it. the filesystems are great too -- never having to defragment, and not slowing down in time. I love the power of BASH. iptables.. but.. I had a vision. a crazy dream. what if, we could develop an installation system for Linux.. working pretty much... (3 Replies)
Discussion started by: ialoq
3 Replies

6. UNIX for Advanced & Expert Users

Crazy mx record redirect

So here is the story i have hired an outside company to filter spam i have since changed the mx record on my server and i have locked down the firewall. Spam has stopped totally which is great however my mx record seem to be propagating back and forth between my old and my new one day it will be... (2 Replies)
Discussion started by: nbredthauer
2 Replies

7. Shell Programming and Scripting

going crazy with test???

oK, i know for sure that code = Y and var = N but no matter what this always prints ignore, never valid??????? if test "$code"="$var" ... (2 Replies)
Discussion started by: mich_elle00
2 Replies

8. Shell Programming and Scripting

M4 quoting drives me crazy

Hi, I have trouble with quotations of the M4 preprocessor. I want to write a basic makro that removes all spaces and newlines at the end and at the beginning of a string. I tried this: define(`TRIM_END', `patsubst(`$1', `\(\\n\| \)*$', `')') define(`TRIM', `patsubst(`TRIM_END(`$1')',... (0 Replies)
Discussion started by: hindman
0 Replies

9. UNIX for Dummies Questions & Answers

Oh no!! crazy script

Hi Could be stupid, but I can figure out... I have a script that downloads a file from a http server ( virus definitions file ). The thing is that when I run it from the console (bash) works fine, but when I put it in the root's cron it doesn't, and it generates a core file. example: ... (8 Replies)
Discussion started by: piltrafa
8 Replies

10. UNIX for Dummies Questions & Answers

unix driving me crazy

:( :confused: what is performed by the following unix command: grep -v Jane project1.txt and grep ' 5\..' janet.txt (1 Reply)
Discussion started by: Tendernisin
1 Replies
Login or Register to Ask a Question