Hi Rob, AFAIK, SCP just transfers files - dunno how you would go about executing server side logic i.e. "but the servlet would insert some data into a database."
Other than that, i'd say the main benefits are a. it already exists. you don't need to write it. b. it's secure by nature (no need to jump through ssl hoops as you would have to with a servlet) Regs, /t >-----Original Message----- >From: Rob Wilson [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 24, 2007 2:19 PM >To: Ant Users List >Subject: Suggestions for sending data to the server > >Recently I have seen many posts for using SCP to copy files to a remote >location, I was intending to invoke an upload servlet to do a >similar job - >but the servlet would insert some data into a database. > >Is it generally recommended to use SCP instead of invoking a >servlet? Any >pro's/con's that I should be aware of? > >Cheers, >Rob. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]