1

I would like to connect with an SFTP client to an FTP server using java. I know the two technologies have nothing to do with each-other. What I'm trying to accomplish is to connect to an FTP server via the internet with out using two ports or changing the server configuration.

Is there any SFTP->FTP bridge in java it would be great. If not, how can I accomplish that ?

I would like to incorporate this in an exciting java server so hence, java based solutions are preferred. If there is some standalone software which you can control via code than it should support windows and *nix.

(Since SFTP is just the means here, a similar WebDav solution will also work)

qballer
  • 2,033
  • 2
  • 22
  • 40
  • possible duplicate of [Receive File via SFTP/SSH and automatically forward to FTP on another server](http://stackoverflow.com/questions/5849758/receive-file-via-sftp-ssh-and-automatically-forward-to-ftp-on-another-server) – Martin Prikryl Jan 18 '15 at 16:18
  • @MartinPrikryl while that question is helpfull. That isn't exactly what I'm looking for. I'm looking for a full SFTP->FTP bridge while this question deals with publishing file only. – qballer Jan 18 '15 at 16:57
  • OK. Btw, you should specify what platform you need the bridge to run on. Also I believe you should remove the Java tag as this is not about Java actually. – Martin Prikryl Jan 18 '15 at 17:17
  • I need to develop this in java. I should clarify that. – qballer Jan 18 '15 at 17:18
  • can you remove the close ? – qballer Jan 18 '15 at 18:16

1 Answers1

-1

You could go with trial and error. Try this out see if it works.

How to retrieve a file from a server via SFTP?

Community
  • 1
  • 1
Joe
  • 86
  • 3