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 store method hangs up
User768

Posts: 2
Member Since: 04/26/01
posted April 26, 2001 5:34 PM

I am polling several directories looking for files to transfer to other servers. When the application is first started it will log on to the appropriate server and transfer all files correctly. However, when it connects to the next server (the ftpcontrol.login, and ftpcontrol.chdir commands work properly) but the ftpcontrol.store hangs.

Has anyone else run into this problem, it so, what is the solution?

Thanks
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 26, 2001 9:54 PM


Please tell me the steps I need to take with one of our sample apps to see the same problem.

Thanks,

Tony Priest
Dart Tech SUpport
User768

Posts: 2
Member Since: 04/26/01
posted April 27, 2001 4:21 PM

Private Sub xferTimer_Timer()
 
 Select Case StartValues
  Case 1
   ftpCommand = ftpControl.Login(Tokens(2), Tokens(3), Tokens(4), txtStuff.Text)
  Case 2
   ftpCommand = ftpControl.ChDir(Tokens(2))
  Case LastValue
   ftpCommand = ftpControl.Logout
  Case ReInit
   LastCall = False
   tmrTimer.Interval = StartValue
   tmrTimer.Enabled = True
   CurrentDevice = 0
  Case Else
   ftpCommand = ftpControl.Store(Tokens(2), Tokens(3), BufferSize, ftpImage)
 End Select
 xferTimer.Enabled = False
End Sub


The program polls several directories looking for .eps files in order to transfer them to another machine. On the first instance it makes it all the way through. On the second instance it will hang on the ftpControl.Store. (The BufferSize is 250000, the Tokens array is a shared variable and they do contain the correct values)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 27, 2001 4:44 PM


That doesn't appear to be code from one of our samples. It also looks like PowerTCP Pro, since the FTP Tool does not have a ChDir method.

If you can reproduce this easily using one of our samples, please post the steps in the PowerTCP Pro topic folder.

If you can't reproduce using the sample, please email support@dart.com and we can open a support incident.

Thanks,

Tony
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX