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: how execute file on remote ftp server
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 5, 2006 4:11 PM

hi all, know someone how i can execute file on remote pc with ftp
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted August 7, 2006 2:53 PM

If the FTP Server supports and user has sufficient privileges this will execute the specified command line on the server.
SITE EXEC <command line>

Regards,
Raj
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 9, 2006 10:29 AM

Hi, i don't know the command line
i have try this code for help but he give a error
Error #11101: 502 SITE command not implemented.

Private Sub Command1_Click()

On Error GoTo OnError
Dim Result As String
Ftp1.Timeout = 1000
' get help on the SITE command
Ftp1.Site "Help", Result
Text1.Text = Result
Exit Sub
OnError:
Debug.Print "Error #" + CStr(Err.Number) + ": " + Err.Description

End Sub

can you tell me what is the complete command

thank you alot for helping me Raj
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted August 10, 2006 4:13 PM

SITE EXEC <command line>
Above is the format in which this command is sent to the FTP Server.

Please make sure the FTP Server supports a SITE command as well as SITE EXEC command. The result that you are getting shows that you FTP Server might not be supporting SITE Command.

"Command Line" is the command that you want to be executed on the FTP Server. Refer your FTP Server documentation on setting this property, and possible usage.

Thanks,
Raj
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 27, 2006 5:28 PM

Thanks a lot
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX