aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes File transfer using HTTPS/SCP protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "File transfer using HTTPS/SCP protocol" Watch "File transfer using HTTPS/SCP protocol" New topic
Author

File transfer using HTTPS/SCP protocol

subbu Nattami
Greenhorn

Joined: Mar 07, 2003
Posts: 2
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

Joined: May 23, 2003
Posts: 7
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

Joined: Mar 07, 2003
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File transfer using HTTPS/SCP protocol
 
Similar Threads
Query on http and ftp Protocols
Accessing a secure servlet
How to write client using SSL???
Access unix machine to read and save a file- from java code - Unix machine IP, userID, pwd given
how to Transfer a file/jar to another Computer