| Dart Home | PowerTCP Server for ActiveX | Custom Development | Reply | PowerTCP Server for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Server for ActiveX Topic: [FTP server control and .NET] PORT 0,0,0,0,0,0 and files with filesize of 0 Kb |
| RikeR From: nan, AB Zimbabwe Posts: 9 Member Since: 11/20/03 |
posted March 29, 2005 9:59 AM Dear Dart support, I am having some trouble when using the FTP server control in .NET First, From time to time there is an entry in the FTP log as shown below. 21:06:27 192.168.0.98 192.168.0.181 21 [18327]PORT 0,0,0,0,0,0 500 Second, I am recieving files with a size of 0 KB, whereas the client did sent a file with a size of 4 KB. Looking forward to comment or even sollution, RikeR |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted March 29, 2005 10:07 AM It looks like the client sent an invalid port string. The zero byte file is what was created in anticipation of the transfer, but since it could not be established, nothinf was written. |
| RikeR From: nan, AB Zimbabwe Posts: 9 Member Since: 11/20/03 |
posted March 30, 2005 2:36 AM Dear Tony, Below I post a part of the FTP log file 21:05:57 192.168.0.98 192.168.0.181 21 [18312]USER 002 331 21:05:57 192.168.0.98 192.168.0.181 21 [18312]PASS - 230 21:05:57 192.168.0.98 192.168.0.181 21 [18312]PORT 192,168,0,98,19,146 200 21:05:57 192.168.0.98 192.168.0.181 21 [18312]STOR 021211.xml 150 21:05:57 192.168.0.98 192.168.0.181 21 [18312]QUIT - 221 21:06:27 192.168.0.98 192.168.0.181 21 [18327]USER 002 331 21:06:27 192.168.0.98 192.168.0.181 21 [18327]PASS - 230 21:06:27 192.168.0.98 192.168.0.181 21 [18327]PORT 0,0,0,0,0,0 500 21:06:27 192.168.0.98 192.168.0.181 21 [18327]STOR 021212.xml 425 21:06:27 192.168.0.98 192.168.0.181 21 [18327]QUIT - 221 The client application is using a response file for the default Windows ftp client to connect to the FTP server. The only thing that is changed is the file name. Thus it's very unlikely that port string was invalid. The files with the size of 0 KB are not in response to the invalid port command. See the log below: 20:59:45 192.168.0.98 192.168.0.181 21 [57105]USER 006 331 20:59:45 192.168.0.98 192.168.0.181 21 [57104]STOR 023918.xml 150 20:59:45 192.168.0.98 192.168.0.181 21 [57105]PASS - 230 20:59:47 192.168.0.98 192.168.0.181 21 [57105]PORT 192,168,0,98,19,151 200 20:59:47 192.168.0.98 192.168.0.181 21 [57104]QUIT - 221 20:59:47 192.168.0.98 192.168.0.181 21 [57105]STOR 063920.xml 150 Here you can see that connection with session ID 57105 did correctly sent the port command and transferred the file, but it has a filesize of 0 KB. I am using you control into an application where a file (4KB) is transferred per second (average). At this time 15 clients are connecting and sending a file once per 15 seconds. Looking forward. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted March 30, 2005 7:33 AM Regardless of the order of the log, this is wrong and indicates a problem: PORT 0,0,0,0,0,0 500 At this point, I will need for you to detail the steps I have to take to duplicate this problem. |
| RikeR From: nan, AB Zimbabwe Posts: 9 Member Since: 11/20/03 |
posted March 30, 2005 8:47 AM Dear Tony, I am using 5 computers to simulate 15 client applications. Each application is sending 1 file of 4KB every 30 seconds. Within this network (192.168.0.x) the FTP server control is used on a server application. This application is running on a server connected to the network. The client application is and .NET application which uses the Windows FTP client to transfer data. As I mentioned before, it generates a response file and uses this as a paramater for ftp.exe. An example of the response file is listed below: open 192.168.0.181 001 Turkije lcd "C:\MDM001\XML" send 010621.xml bye After generation of the response file a new process is started: Dim MyProcess As New Process MyProcess.StartInfo.FileName = "ftp.exe" MyProcess.StartInfo.Arguments = "-s:" & GeneralPath & ResponseFile MyProcess.StartInfo.WorkingDirectory = New IO.FileInfo(strProcess).DirectoryName MyProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden MyProcess.StartInfo.UseShellExecute = False MyProcess.StartInfo.RedirectStandardInput = True MyProcess.StartInfo.RedirectStandardOutput = True MyProcess.StartInfo.RedirectStandardError = True MyProcess.Start() MyProcess.WaitForExit() Looking forward. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted March 30, 2005 8:59 AM This is going to end up being to complicated for the forum. Please email support@dart.com to find out what other support options are available. |
| spadams From: Milton Keynes, United Kingdom Posts: 7 Member Since: 10/21/04 |
posted June 1, 2005 7:03 AM I have been experiencing a similar issue to this, where files are getting transfered and 0KB files are appearing on the server?? Was there any answers to this problem?? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 1, 2005 7:38 AM We never received any more info from someone with his email address so from what I can tell the matter was not pursued. Instead of replying to this issue, please start a new thread explaining the details I need to duplicate. Make sure you include any pertitent error messages or log entries. Also, please make sure you post the forum that is for the tool that you own. |
| Reply | PowerTCP Server for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|