ftp port error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ftp port error
# 1  
Old 07-26-2002
ftp port error

We are getting the following error while in the middle of an ftp with a remote server

transfer.07-25-02-124529:425 Can't build data connection: Operation already in progress.

This can happen in the middle of a successful connection... we might transfer several files successfully before and / or after this error.

Any ideas??

We end up losing a file transfer when this happens.

What we do, is go to the remote site, retrieve a list of the files with certain id in the file name so that we know are ready to be picked up into a file on our side.
We feed this list through a do process to pick up each file and transfer it.
We then rename the file to something else so we do not pick it up again.
The file on the remote site gets renamed ok, but the file does not transfer to our site.

Any insight would help.

Thanks
# 2  
Old 07-26-2002
What OS and version and what FTP and version?
# 3  
Old 07-29-2002
digital unix 4.0D
Not sure what ftp....
# 4  
Old 07-29-2002
I could not find anything on the error you are receiving - suggest two things:

Upgrade - your version of Tru64 is rather old and probably past end of life.

Do some testing - find out if the file that fails is at a certain point (already transfered xxx,xxx,xxx bytes - connection is closed and reopened possibly? A limit on your system or the one you are sending to). Connection opened over a certain amount of time?
Check the error logs of any systems that deal with the traffic (firewalls, routers...) at the time. Have your network folks get involved - they may see what is happening. Use snoop (if it's called that) to check the packets being passed between the two systems - it sounds like an error in where the two servers are at in the passing of the file - one is waiting for ack and doesn't get it (dropped somewhere) and so it fails but the other server believes the file is done and starts sending the next.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

FTP file with a different port

I am using below code to ftp file and it errors out saying Servname not supported for ai_socktype ... if I do not use port number 2020 then it is not connected #!/bin/sh USER=$1 PASSWD=$2 server=$3 remoteFile=$4 localDir=$5 ftp -n -v << EOF open $server 2020 user $USER $PASSWD ascii cd... (4 Replies)
Discussion started by: eskay
4 Replies

2. Shell Programming and Scripting

Specifying port for ftp when using .netrc

Hi, does anybody know if it is possible to specify a particular port for an FTP address within a .netrc file ? i have a script which opens the ftp to a machine and then instigates .netrc to login etc.. within .netrc i need it to go to a particular port to enable me to automate the dropping of... (2 Replies)
Discussion started by: forefather1977
2 Replies

3. IP Networking

Ftp over SSH port forwarding

Hi, I'm trying to connect ftp over ssh port forwarding to a sever(UnixC) behind FireWall(F/W). here's my env and question. UnixA(SSH Client) ----F/W ---- UnixB(SSH Svr) ---- UnixC (FTP, 21) UnixA wants to connect ftp service of UnixC via SSH port forwarding on UnixB. Unix A,... (3 Replies)
Discussion started by: hanyunq
3 Replies

4. HP-UX

Enable ftp port

Hi Experts, Need your help in enabling the ftp port in HP-UX box. Is there any command/config file that needs to be changed? Also is it possible to open it only for few selected IPs only? (9 Replies)
Discussion started by: sai_2507
9 Replies

5. IP Networking

FTP to other port than 21

Hi all, Simple question. What is the command to ftp to other port, says 55555 Astelnet we can use: telnet IPaddress portNumber right? What about ftp? Thanks a lot (4 Replies)
Discussion started by: wilsonSurya
4 Replies

6. Linux

resticting user to login using putty on port 21(ftp)

Hi, I am having small query and wheather it is possible ? that user can transfer the files using ftp client examples (filezilla) , but he can not use putty to login using ftp and run the commands, Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

7. SCO

Change FTP port UnixWare

Hi there, I have a client who wants to FTP to his server (UW7.1.4). He don't wants to use the standard 21 port but a differtent port like 8210. I added an extra ftp1line in the /etc/services and /etc/inetd.conf as same as the original ftp line. Restarted TCP/IP but when I connect with an... (0 Replies)
Discussion started by: p.vvugt
0 Replies

8. UNIX for Dummies Questions & Answers

Any freeware ftp tool for telnet ( port 23 ) ?

Hi, I am connecting my remote unix servers using putty ( port 23, telent ). Right now I am doing ftp operation using command prompt. I would like to know the freeware ftp tool for telent ( port 23 ) which would give the interactive mode for ftpe operation. I know ther ftp tool like winScp... (4 Replies)
Discussion started by: thambi
4 Replies

9. IP Networking

ftp port listener

Hi, Anyone have any pointers on how I would go about creating some sort of listener (preferably, but not exclusively in Java) that would monitor an ftp port and react to arrival of a new file? Thanks in advance. Selma (2 Replies)
Discussion started by: Selma
2 Replies

10. UNIX for Advanced & Expert Users

FTP Port Number

On HP-UX 11 how do I get the port number of an active ftp connection? (2 Replies)
Discussion started by: mbb
2 Replies
Login or Register to Ask a Question