Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Recv: 426 Data connection: Illegal seek.
pwroblewski

From: Austin, TX USA
Posts: 38
Member Since: 11/21/03
posted November 1, 2004 2:49 PM

We have several severs running our VB6 code that downloads data from about 35 FTP servers. We have 1 FTP server that our application will not download. This is the same OS as all the rest and up until a month ago this server worked as well. Unfortunately now it does not. The error is: Recv: 426 Data connection: Illegal seek. We pull several hundred files from each server each day and this one gets the above error every time. What does this error mean? How do I fix or code around it?

Phil
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 1, 2004 2:51 PM

It sounds like the server has a problem with it's file system. You'd have to clear that up on the server.

pwroblewski

From: Austin, TX USA
Posts: 38
Member Since: 11/21/03
posted November 1, 2004 2:56 PM

Tony,

I can pull the files with a manual FTP, does your FTP tool require something that a manual FTP does not? I can get Dir/LS listing as well.

Phil

P.S.

Here is the Trace of the error:

Sent: PASV

Recv: 227 Entering Passive Mode (10,31,116,222,165,179)

Sent: RETR /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001592.ACT

Recv: 150 Opening BINARY mode data connection for '/home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001592.ACT' (33552452 bytes).

Recv: 426 Data connection: Illegal seek.

Sent: SIZE /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001593.ACT

Recv: 213 33552116

Sent: PASV

Recv: 227 Entering Passive Mode (10,31,116,222,165,181)

Sent: RETR /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001593.ACT

Recv: 150 Opening BINARY mode data connection for '/home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001593.ACT' (33552116 bytes).

Recv: 426 Data connection: Illegal seek.

Sent: SIZE /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001594.ACT

Recv: 213 33554595

Sent: PASV

Recv: 227 Entering Passive Mode (10,31,116,222,165,182)

Sent: RETR /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001594.ACT

Recv: 150 Opening BINARY mode data connection for '/home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001594.ACT' (33554595 bytes).

Recv: 426 Data connection: Illegal seek.

Sent: SIZE /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001595.ACT

Recv: 213 8698543

Sent: PASV

Recv: 227 Entering Passive Mode (10,31,116,222,165,184)

Sent: RETR /home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001595.ACT

Recv: 150 Opening BINARY mode data connection for '/home/SonusNFS/phnxaz01sns01/evlog/0030000719/ACT/1001595.ACT' (8698543 bytes).

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 1, 2004 3:03 PM

Well, the reason I blame the server is because I checked the source code and the words "seek" don't occur anywhere, indicating that the server is giving the error message.

Try getting a packet sniffer (like ethereal) and compare a trace using your working FTP program to ours.

pwroblewski

From: Austin, TX USA
Posts: 38
Member Since: 11/21/03
posted November 1, 2004 3:16 PM

I was just talking to our operations team ref this is, they suggested it could be because of the TCP option of "NOT" allowing fragmentation of messages. Could this be the case? They said they had to change the TCP options on the switches at the server location because of a issue with the circuit. Does the FTP tool have a parameter to change this option?


Phil
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 1, 2004 3:22 PM

I'm not exactly sure what they are referring to. We don't have any kind of property that controls "fragmentation of messages"
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX