| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Unable to distribute my product...Please help. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 6, 2002 5:29 PM I dropped on the FTP control during the eval period, and it worked in Visual FoxPro 6.0 on Windows 98. I registered, added the new control, copied the methods from the old control, removed the old control, renamed the new control, and it worked. I tried to distribute to NT (with SP4 using 4275-ole.exe as instructed) and to Windows XP. The result was that I could not connect - Connection verified using other FTP program. Later, I reregistered the DLLs DartSock and DartFTP (successfully) on both the development PC and the NT and XP target PCs; it still did not work. I recompiled and redistributed to targets with the same results. I have a client waiting... |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 6, 2002 5:57 PM Following is the Dartnostics report from the XP PC: **************************** * Dart Diagnostics Report * **************************** Customer Name : Stephen H. Morton E-mail Address : SHMorton@aol.com Problem Description : Distributed to Win XP and unable to log on ********************** * Platform Info * ********************** Platform : WindowsNT Version: 5.1.2600 ********************** * Registry Info * ********************** ********************** * DLL Versions * ********************** VERSION REGISTERED PATH ------- --------------- 1.7.0.2 c:\windows\system\dartftp.dll 2.2.0.11 C:\WINDOWS\System32\DARTSOCK.DLL 5.2.82.44 C:\WINDOWS\System32\MSVBVM50.DLL 6.0.92.37 C:\WINDOWS\System32\MSVBVM60.DLL 6.0.2600.0 C:\WINDOWS\System32\ADVPACK.DLL 3.50.5014.0 C:\WINDOWS\System32\asycfilt.dll 5.0.2600.1 C:\WINDOWS\System32\comcat.dll 2.10.35.35 C:\WINDOWS\System32\compobj.dll 5.1.2600.0 C:\WINDOWS\System32\imagehlp.dll 5.1.2600.0 C:\WINDOWS\System32\iprop.dll 2.10.35.35 C:\WINDOWS\System32\ole2.dll 5.1.2600.0 C:\WINDOWS\System32\ole32.dll 3.50.5014.0 C:\WINDOWS\System32\oleaut32.dll 5.1.2600.0 C:\WINDOWS\System32\olecnv32.dll 5.0.5014.0 C:\WINDOWS\System32\olepro32.dll 5.1.2600.0 C:\WINDOWS\System32\olethk32.dll Not Found C:\WINDOWS\System32\rpcltc1.dll Not Found C:\WINDOWS\System32\rpcltc5.dll Not Found C:\WINDOWS\System32\rpcltccm.dll Not Found C:\WINDOWS\System32\rpclts5.dll Not Found C:\WINDOWS\System32\rpcltscm.dll Not Found C:\WINDOWS\System32\rpcmqcl.dll Not Found C:\WINDOWS\System32\rpcmqsvr.dll 5.1.2600.0 C:\WINDOWS\System32\rpcns4.dll 5.1.2600.0 C:\WINDOWS\System32\rpcrt4.dll 5.1.2600.0 C:\WINDOWS\System32\secur32.dll 5.1.2600.0 C:\WINDOWS\System32\security.dll 2.10.35.35 C:\WINDOWS\System32\storage.dll Not Found C:\WINDOWS\System32\W95INF16.DLL Not Found C:\WINDOWS\System32\W95INF32.DLL Not Found C:\WINDOWS\System32\dcom2w98.dll 5.1.2600.28 C:\WINDOWS\System32\rasapi32.dll 6.0.2715.400 C:\WINDOWS\System32\wininet.dll 3.10.0.103 C:\WINDOWS\System32\winsock.dll 5.1.2600.0 C:\WINDOWS\System32\wsock32.dll ********************** * Security Providers * ********************** msapsspc.dll, schannel.dll, digest.dll, msnsspc.dll |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted August 7, 2002 9:12 AM Hi Stephen, What is the error you are seeing on the target machine? Thanks, -ken |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 8, 2002 1:08 PM I got no error messages. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted August 8, 2002 3:20 PM Hi, Does the sample work on the target machine? Thanks, -ken |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 8, 2002 4:03 PM The sample does not work on the target machine. Internet explorer is able to reach the internet from the target machine. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 8, 2002 4:52 PM I moved the development files to an NT wkstn (SP6) and installed and registered the FTPControl. I ran the Dartnostics and verified the DLLs after running 4275-ole.exe. I also checked the .TBL file for its version. These were all fine. The control did not work. Again, no error messages. The sample did not work either. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 8, 2002 5:28 PM Please define EXACTLY what you mean by "does not work". You state that there are no error messages, so it's pretty near impossible for us to guess why your program doesn't work. What exactly is happening? Please be as detailed as you can. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 8, 2002 5:44 PM The login method is called. The progress method is never executed on target PCs. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 8, 2002 5:49 PM Also, the sample displays Connecting, Connected, Disconnected in quick succession. The is no opportunity to use the SEND COMMAND button. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 8, 2002 7:03 PM It sounds like the FTP server is closing the connection without sending a greeting. The FTP server is probably refusing traffic from whatever IP address you are comming from. I just tried the sample with anonymous on sunsite.unc.edu and it worked fine. Please give me the address of an FTP server that does not work with the sample. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 12:09 PM Just to clarify: The sample works fine on the developers Win 98 PC at runtime. From the LAN at one site, the sample does not work on Win NT and Win XP when the files were distributed to those PCs. It also could not connect when the control was directly installed on the same Win NT station with all the other development files. On another LAN at another site, the control was installed with all the development files on Win NT, and the sample did not connect. Therefore, I know that the site is accepting traffic because your FTP Control works (both your sample and my application) on my stand-alone Win 98 station through dial-up, and I know that by using WS FTP Pro, I can login and transfer files from all the PCs and LANs involved. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 9, 2002 12:46 PM This is not an issue with distribution. The fact that you can connect means that all the files have been installed properly. This is most likely a network issue. The machines where it doesn't probably have multiple IP's and the one that the FTP control grabs by default is one that your FTP server is blocking. If the machine has more than 1 IP address, try using some of the others as the LocalAddress parameter of the FTP control and see what happens. Again, if you can provide me with a site that fails, I can try it here and see what happens. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 2:13 PM I'll try the local address parameter, but again I cannot connect from NT and XP, distributed or otherwise, even though on those same PCs WS FTP Pro works. I'll try it now and write back. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 2:25 PM It does report the correct LocalAddress. Please try connecting to 65.119.240.222 |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 9, 2002 2:40 PM It's not an FTP server. Whatever is listening on port 21 of 65.119.240.222 just accepts the connection and closes as soon as you send anything. Try it yourself by using Telnet like so: Telnet 65.119.240.222 21 If this were an FTP server you would get a greeting upon connecting. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 3:10 PM Try port 115. Again WS FTP Pro works as does your tool on Win 98 with this address. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 3:12 PM By the way, LocalAddress is read-only, correct? If this is an access over Lan issue, what would we need to set in your tool or VFP? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 9, 2002 3:33 PM In regards to the LocalAddress, please disregard. It's read-only and there is no way for you to specify another address besides the default. In regards to the port being 115, are you sure that you specified port 115 in the login method. I did and it connected just fine. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 4:07 PM Yes, I specified the port. I even tried the literal values in VFP code on NT. Could this be a problem with my version/build of the product? I downloaded it on Aug 2. DartFTP.DLL has a version # 1.7.0.2 and dated 3/20/2002, and DartSock.DLL has a version # 2.2.0.11 and dated 2/28/2002. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 9, 2002 4:14 PM I'm using the same DLL's as you. This has got to be some sort of firewall problem. I'm not quite sure I can help you with something like that on the Forum. This would most likely require you to set up Terminal services or PC anywhere so that we can get in and see what's going on. For something like that, you'd need priority support due to the time involved. |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 4:25 PM I guess my basic question is why is it that WS FTP Pro works in all of these same environments with the same conditions and settings: (Local) IP Addresses, Firewall/No firewall, Host Address, User ID, Password, Port etc.? I supply exactly the same information. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 9, 2002 4:33 PM I can't answer that. WSFTP is an end-user application, not a component. They obviously do something to accomodate the situation, but since I don't even know what the situation is, I have no advice. I thought I knew what it was as soon as you said that the server just closed the connection, but since you are positive that you are changing the port to 115 that ruled out my idea. Again, if you want to pursue this more detail, I'd recommend getting priority support so that we could spend more time with you on this. I'm sorry that I can't offer more here. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted August 9, 2002 4:43 PM Hi, To rule out the server as the cause of the problem, are you able to connect to any Ftp server? For example, ftp.microsoft.com? Also, please try connecting with our VB sample. I am interested to know if this is a VFP-specific issue. Thanks, -ken |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 9, 2002 5:33 PM I am able to run the VFP sample on NT on a LAN and connect to the microsoft address. That's good news. Can you think of the parameters that the other FTP application works around? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted August 12, 2002 5:38 PM Hi, It sounds like you are behind a proxy on these machines, and not your development machine. It also seems like the app is connecting to port 21, and not 115. -ken |
| Stephen H. Morton From: Scarsdale, NY USA Posts: 17 Member Since: 08/06/02 |
posted August 16, 2002 10:54 AM Correct. The problem went away after we changed the port back to the default 21 on the FTP server. It seems that even though the app was able to login and create a directory using port 115, when it came to STORing a file the firewall/proxy redirected to port 21 which was invalid as far as the FTP server is concerned. Thank you for your help. |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|