Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Does trial stop working without warning?
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 11:56 AM

Hi... I managed to get your ftp component working today as the trial version in our latest .net project. I managed to get it uploading files perfectly to our ftp server via a socks 5 proxy.... which was great for a while

If this works, we would be definately looking to purchase this .... however after coming back to the code later to add to it, trying the application out again, it seems to be sitting at the point where we use the ftp component to connect and upload,... theres a small amount of network traffic shown on my lan, and then nothing - the application sits at this point and does nothing.

Another thing i noticed was that the dialogue box which notifies me of how many days trial i have left is saying i have not 30, but 31 days remaining?!

Has there been something happened which has cut off the ftp component from working correctly? I would like to think my 30 day trial was fully functional before spending either 250 dollars or 2000 dollars....
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 11:58 AM

Its worth adding the following information:

1. I have set the debugger to work through the routine which calls the ftp component and stepped through it line by line to make sure its the point where the ftp object is used to connect where the application is not working.

2. The system i am working from has not been modified in any way since i had the component working from within the project.... this was only a few hours in between correctly testing it and coming back to it.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 12, 2003 12:07 PM

What method call are you making that is not returning? Do the sample apps work?
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 12:08 PM

Hi - here is the code snippet im using... this was unchanged between getting it working, and it not working:

Try
      Dim file1 As FtpFile
      Dim file2 As FtpFile
      file1 = Ftp1.Put(europath, "www/distiannouncement/werwerwfd.xls")
      file2 = Ftp1.Put(dollarpath, "www/distiannouncement/wsfsrgf.xls")

      MessageBox.Show("Transferred " & (file1.Count + file2.Count) & " bytes in total!")

    Catch ex As Exception
      MessageBox.Show(ex.Message.ToString)
    Finally
      Try
        'graceful disconnection
        Ftp1.Close()
      Catch
        'dirty disconnection
        Ftp1.Abort()
      End Try
    End Try
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 12:09 PM

Im getting the application sitting doing nothing at:

file1 = Ftp1.Put(e........

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 12, 2003 12:11 PM

Exactly what happens when you run this code? Does it go to the catch block? If so, what method call caused the exception?
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 12:14 PM

Nope - its not even calling an exception, the debugger sits at that line as if its still executing it, the application itself appears to be doing nothing too.

It seems as if its starting the "put" method, then nothing..... does the component attempt to "call home" or do any other checks before it carries on with my instructions?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 12, 2003 12:17 PM

No. It should either work or throw an error after it times out. There's several things you can do to troubleshoot this.

First, the Trace event will tell you what the last command sent was and what the reply (if any) was. The ListView sample shows how to create a Trace log.

Second, try using the samples to do the same thing and see if that works.
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 12:18 PM

Hi,

Thanks for the quick reply... will try those and let you know what the outcome was.
backpack

From: Camberley, United Kingdom
Posts: 8
Member Since: 11/12/03
posted November 12, 2003 12:26 PM

Ok i added a messagebox event to fire on every call to the trace event on the ftp component.... and i got all the usual ftp messages (about 10 messagebox messages) .. AND everything worked this time!!!!!!

Does slowing the process down make things more stable?!
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 12, 2003 12:28 PM

No, but there may be other things going on in your program that are causing the problem. That's why I asked if the samples worked.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX