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

  • SEARCH
  • Home
  • 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 6631997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:37:29+00:00 2026-05-25T22:37:29+00:00

My application is downloading a client from my server via FTP. I must use

  • 0

My application is downloading a client from my server via FTP. I must use FTP in this case as I made the file on my server forbidden from public use; thus, the only way to download the file is as an administrator which I can do by supplying an username and password to the FTP client. The problem with doing this, though, is that by using Fiddler I can “sniff” out the password sent to the FTP client from c#.

Code:

var downloadFileRequest = (FtpWebRequest)WebRequest.Create("ftp://" + Public.ftp_host + "//" + fileName);
            downloadFileRequest.Credentials = new NetworkCredential(Public.ftp_username, Public.ftp_password);
            downloadFileRequest.Method = WebRequestMethods.Ftp.DownloadFile;
            downloadFileRequest.UseBinary = true;

            ServicePoint sp = downloadFileRequest.ServicePoint;
            sp.ConnectionLimit = 2;

                var downloadResponse = (FtpWebResponse)downloadFileRequest.GetResponse();

                    Stream downloadStream = downloadResponse.GetResponseStream();

Is there some way to download files via FTP without exposing this password?

Thank you,
Evan

  • 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-05-25T22:37:29+00:00Added an answer on May 25, 2026 at 10:37 pm

    Nope. FTP sends credentials plainly. You have to use SFTP or something equivalent.

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

Sidebar

Related Questions

I had an application that was downloading a .CSV file from a password-protected website
I have a client/server type application setup, similar to a bittorrent downloading program. However,
I'm building an application that needs to use a web server like a file
My Javascript application is downloading quite a bit of data from the server and
I'm writing application for downloading CSV file from web and inserting data into table
In my application I am downloading pdf file from the net. Is it possible
We are about to roll out a client server application build with java web
I'm trying to use the following code to create a zip file from a
This is a follow up question from Team Foundation Server: Getting the Changeset Id
I have integrated evernote in my application by downloading sample code from its site.

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.