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: 550 Not licensed to execute the command
ryanj19

From: Aliso Viejo, CA USA
Posts: 3
Member Since: 12/15/05
posted December 15, 2005 8:01 PM

What does this error message mean?

550 Not licensed to execute the command

This product has been working fine. All of the sudden, ftp is failing and this is the error message being logged:

Dart.PowerTCP.SecureFtp.ProtocolException: Request: STOR filename.dat
Response: 550 Not licensed to execute the command

  at Dart.PowerTCP.SecureFtp.aw.Invoke(Delegate A_0, Object[] A_1)
  at Dart.PowerTCP.SecureFtp.Ftp.Put(Stream localStream, String remoteFileName)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 15, 2005 8:56 PM

That's the response from the server. I'm not sure how you would fix it. If it's a Netware server, I suggest that you start by reading these Google threads as it appears others have gotten it as well:

http://groups.google.com/groups?q=%22550+Not+licensed+to+execute+the+command%22
ryanj19

From: Aliso Viejo, CA USA
Posts: 3
Member Since: 12/15/05
posted December 19, 2005 4:37 PM

I can log in to the server with an ftp client (or internet explorer) and ftp files with no problem. Only the ftp component is not working.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 19, 2005 4:38 PM

Please send the login information to support@dart.com so that I can try it out.
ryanj19

From: Aliso Viejo, CA USA
Posts: 3
Member Since: 12/15/05
posted December 19, 2005 4:40 PM

OK. It's a customer's environment, so I will need to discuss with them first.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 20, 2005 3:20 PM

Thanks, I got the information, but unfortunately I can't duplicate your problem. I was able to Put a file and delete it afterwards. This probably has something to do with the name of the file.

Please try this code and tell me what happens:

  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Button1.Enabled = False
    Ftp1.Server = "xxxxxx"
    Ftp1.Username = "xxxxxx"
    Ftp1.Password = "xxxxxx"
    Ftp1.Put(GetTestStream, "testfile.delete")
    Ftp1.Delete("testfile.delete", False, False)
    Ftp1.Close()
    Button1.Enabled = True
  End Sub

  Private Function GetTestStream() As IO.MemoryStream
    Dim s As String
    s = "This is a test File"
    Dim buffer(s.Length - 1) As Byte
    buffer = System.Text.Encoding.Default.GetBytes(s)
    Dim stream As New IO.MemoryStream()
    stream.Write(buffer, 0, s.Length)
    Return stream
  End Function
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX