Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File transfer using HTTPS/SCP protocol  RSS feed

 
subbu Nattami
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I need to transfer files from one machine to another machine (ex: win to unix) using HTTPS/SCP protocol for every 6hrs.Could you please tell me how to do this using this protocol.
I have done using FTP protocol.But I don't how to do this using HTTPS...Could you please tell me which API,I have to use it.
I am using JDK1.3 ....
Note :Its not a web application...

Thanks in Advance.
Regards,
Subbu
 
Gabor Ui
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Subbu,
Quite interesting requirement.
As far as I know you have to use SSL under the HTTPS. This means you have to use JSSE to create SSLSocket to trasnfer HTTP request and response.
This might help you, might not... I read this from this book http://www.jeffheaton.com/java/bot/ There is a "bot" package for the book that contains some basic implementation if you need a starting point.
Gabor
 
subbu Nattami
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gabor,
Thanks for the reply.
I have browsed in the net,everywhere there are using HTTP with SSL for web related works but this is not web development task...If you have anyother info pls send it to me.
Regards,
Subramanian
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!