| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Retreiving files happens twice per call |
| User34 Posts: 4 Member Since: 05/03/02 |
posted June 4, 2003 12:26 PM Hi, I'm using DartFTP.dll version 1.8.0.6, which is the latest update as of today. I'm programming in vb6 on a W2K machine. When I do any of GET, MGET, or RETREIVE, my FTP Server log shows that the pull is done twice per call. Here's a piece of the FTP log: #Software: Microsoft Internet Information Services 5.0 #Version: 1.0 #Date: 2003-06-04 14:59:47 #Fields: time c-ip cs-method cs-uri-stem sc-status 14:59:47 10.10.11.88 [7]USER anonymous 331 14:59:47 10.10.11.88 [7]PASS - 230 15:00:20 10.10.11.88 [7]sent /_FTP_Source/foo.txt 226 15:00:20 10.10.11.88 [7]sent /_FTP_Source/foo.txt 226 15:03:00 10.10.11.88 [7]QUIT - 226 The command call that generated this log file entry is this: m_oDartFTP.MGet in_bsSource, _ in_bsDestDir, _ out_dsGoodTransfers, _ out_dsBadTransfers where in_bsSource is qualified name of the remote file to pull, and in_bsDestDir is the name of the local directory to pull the files to. The out_* variables are DartString objects that I expect to contain the names of those files successfully transferred (GoodTransfers) and not transferred (BadTransefers). I verified that this step is called only once by stepping through the debugger, stopping before this line is called, examining the FTP logfile, executing this one line, and then examining the FTP logfile again. I changed the code to use GET, and then RETRIEVE methods, and they both behave the same way. Now, I generally don't see any errors or problems on the larger scale of "Did I get the files I wanted successfully?" but I would like to know why the DartFtp tool is making the call twice? I would appreciate any explanation. -Taro |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted June 5, 2003 9:02 AM Hi Taro, If you create a session log using Ftp.Trace, what does it show is happening? Does it show, for example, two RETR commands sent out for each file? Thanks, -ken |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|