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: FTP Retrieve Problems
PatrickTeas

From: Mississauga, ON Canada
Posts: 2
Member Since: 06/12/02
posted June 12, 2002 12:23 PM

Using the FTP control in VB6.
During Retrieve method an error is fired, and trapped by VB. However no VisualBasic error (Err.Number=0) exists, and the FTP Progress event and FTP Error event are not producing an error.
Are we getting an error that the FTP control doesn't handle or provide an error code for?

To further complicate the issue, we find that running a different FTP program and connecting to the server just prior to our program with the FTP control often prevents the error from occuring. Why would this be?

Thanks for any info.

Patrick
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 12, 2002 1:46 PM

Hi Patrick,
I'm not sure how that can be.
Are you able to reproduce this problem with the Listview sample?
When the error occurs, what does the trace log (created with the Trace method) look like?
Thanks,
-ken
PatrickTeas

From: Mississauga, ON Canada
Posts: 2
Member Since: 06/12/02
posted June 14, 2002 4:30 PM

We have reproduced the problem with the ListView sample app. Here is the output from the log file.
Note the last operation is issuing the Passive command. The connection was immediatly dropped at this point. This is the same behaviour as within our program that uses PowerTCP FTP. Repetitive attempts with ListView could not reproduce this problem. This intermitent nature is also experienced in our program. We have determined that the SIZE command is issued and successful, then the PASSIVE command is where failure happens.

<--- 220 durango Microsoft FTP Service (Version 4.0).

---> USER ftpguest

<--- 331 Password required for ftpguest.

---> PASS comsense

<--- 230-Welcome to the Comsense Inc FTP site.

<--- 230 User ftpguest logged in.

---> REST 100

<--- 504 Reply marker must be 0.

---> CWD

<--- 250 CWD command successful.

---> PASV

<--- 227 Entering Passive Mode (216,208,163,66,10,50).

Thanks for the help.

Patrick
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 14, 2002 4:39 PM

Hi Patrick,
What happens when you try a non-passive transfer with the sample?
(Or set Passive = False in your app).
Thanks,
-ken
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX