| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: FtpProxyTypeConstants |
| User634 Posts: 6 Member Since: 06/01/01 |
posted June 5, 2001 11:24 AM Hi, With WS_FTP I found out that our Firewall uses the proxy type: 'USER RemoteID@FireID@RemoteHost' I tried all FtpProxyTypeConstants included in the dart-ftp component but It doesn't seem to get through the firewall. Does anybody have an idea? Thanks a lot, Bas. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 5, 2001 3:01 PM That would not be a supported mode. You could still accomplish the login with a little work though. You'd have to determine the exact sequence of commands to be sent. Tony Priest Dart Tech Support |
| User634 Posts: 6 Member Since: 06/01/01 |
posted June 6, 2001 8:52 AM I tracked down the sequence of commands and created a workaround that...WORKS :-) but I have to logon twice. Every first session fails and every second one succeeds. The code I created is very simple: Dim intCnnAttempt As Integer intCnnAttempt = 1 Do While intCnnAttempt <= 2 And Ftp1.State <> tcpConnected On Error Resume Next Ftp1.Login Host, Username, Password intCnnAttempt = intCnnAttempt + 1 Loop and does the work but I don't understand why every first session fails and every second one succeeds. Do you have any idea? Thanks, Bas. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 6, 2001 9:37 AM You'd have to check the error code and description from the call to login to find out what the error is. Tony |
| User634 Posts: 6 Member Since: 06/01/01 |
posted July 12, 2001 5:46 AM Hi Tony, thanks for all you help. My ftp sessions are working fine now :-). Hopefully you have time for one more question. After I got all documents from the server with FTP mget, I would like to delete those files so I only (m)get the new documents and not the documents I already have. Is this possible with ftp? I tried some things but it appears that the ftp-session locks the files because I can't delete them. Is this true? Thanks in advance, Bas. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 12, 2001 10:53 AM Hi Bas, What Ftp server are you retrieving from? If it is IIS 4.0, please see the following thread: http://support.dart.com/forum.dwp?view=4317#FID4317 -ken K M Drake Dart Tech Support |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|