Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8215077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:40:07+00:00 2026-06-07T11:40:07+00:00

I read this article: The two are very different from each other, although they

  • 0

I read this article:

The two are very different from each other, although they both aim to
serve the same purpose. SFTP uses a single channel to transmit and
receive all the pertinent data, while FTPS uses another channel that
is dynamically decided for the data. FTPS often had problems when
passing through a firewall, as it did not know the port that was being
used by the data, and failed to allow traffic through the port. FTPS
sends messages in a text format, allowing people to read logs and
determine what happened during the session. This is not possible with
SFTP, as the messages are not in text, but in binary.

Read more: Difference Between FTPS and SFTP | Difference Between |
FTPS vs SFTP
http://www.differencebetween.net/technology/internet/difference-between-ftps-and-sftp/#ixzz20KUGWr00

I didn’t want to assume anything as this would just make my job harder if I am wrong but when I am sending a file through C#/.Net4 like this:

  var request = (FtpWebRequest) WebRequest.Create(FtpUrl + filename);
    request.Method = WebRequestMethods.Ftp.UploadFile;

    var secureString = new SecureString();
    foreach (var b in Encoding.Default.GetBytes(FtpPassword))
      secureString.AppendChar((char) b);
    request.Credentials = new NetworkCredential(FtpUsername, secureString);
    request.EnableSsl = true;

Is that going SFTP or FTPS? I am assuming FTPS as the article indicates due to the EnableSsl.

If it is not SFTP, can I change this to be SFTP instead? I’m having problems sending through a firewall.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:40:08+00:00Added an answer on June 7, 2026 at 11:40 am

    SFTP is uses SSH to transfer the file. You can change it to this if you are running ssh on the remote machine. I’m not sure if C# has support for it though. According to this: http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/817b4f71-7e88-4b62-b48a-8a5edca800fd/ the answer is no.

    FTPS is adding SSL onto FTP. Kind of like HTTPS is SSL on top of HTTP.

    Your code is definitely using FTPS.

    Your firewall issues are probably explained here: http://en.wikipedia.org/wiki/Ftps#Firewall_incompatibilities

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read this article from High Scalability about Stack Overflow and other large
I've read this article, Using reCAPTCHA with Google App Engine , it wasn't very
I read an article and its comments from mysql database with two separate queries
i have read this article from dev.mysql . in that page is a example
I've read this article about C/C++ strict aliasing . I think the same applies
I just read two articles over this topic which provide infomration inconsistent, so I
I read this article : http://lwuit.blogspot.in/2008/06/lightweight-text-input-in-lwuit.html This article talks of autocomplete textfield embedded on
I read this article on how to use keytool to generate CSRs for your
I read this article where Ayende states NHibernate can (compared to EF 4): Collection
after read this article i tried generate EF model by System.Diagnostics.Process: Process myProcess =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.