Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Any difference betn FTP & SCP

 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't checked the code, but I'd imagine one does file transfer using FTP and the other does it with SSH.
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic