aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Any difference betn FTP & SCP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Any difference betn FTP & SCP" Watch "Any difference betn FTP & SCP" New topic
Author

Any difference betn FTP & SCP

Priya Jothi
Ranch Hand

Joined: Jul 13, 2004
Posts: 168
Hi all,

Juz wanna know whether there is any difference between FTP & SCP tasks.
Basically both are doing the same file transfer operation from remote machine.I couldn't find any difference at all.If any of you has got an answer for this kindly reply back.

Thanx in advance..

Regards,
Priya.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

I haven't checked the code, but I'd imagine one does file transfer using FTP and the other does it with SSH.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
SCP is done over a secure (i.e., encrypted) connection; hence the "S" in SCP. FTP is unencryted (although you can SFTP, which is FTP over SSH, and thus encrypted).
Also, I don't think anonymous file transfers are supported in SCP, because you need to have an account on the target machine.
Going out on a limb here, I will speculate that SCP only works in Unix-like operating systems, not on Windows, while at least an FTP client is built into all common operating systems.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Any difference betn FTP & SCP
 
Similar Threads
protocols available?
Connection is closed by foreign host given by Ant SCP task
ftp and scp through java program
error during FTP transfer: org apache commons net MalformedServerReplyException
java applet which scp files to server