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 1040469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:13:39+00:00 2026-05-16T15:13:39+00:00

I have a need to push out a file package that includes a driver

  • 0

I have a need to push out a file package that includes a driver via my website for download. The only issue is it cannot be transferred in ASCII mode or else it becomes corrupt. I’ve looked at alternatives for FTP download but would rather not have an application that is created that can be downloaded just to transfer files. I’m looking into the possibility of creating an ASP.NET page that will use FTP for the download process.

I’ve seen a few examples but I also have a few questions:

  1. How best to protect the login/password information instead of putting it in code? Can that be referenced from web.config?
  2. Any possibility of showing download progress? Is AJAX my only option?
  3. Ability to allow the user to select a download location on their local machine?

EDIT
Could I add a MIME type for ZIP and EXE files of application/octet-stream that would force a Binary download of the files?

  • 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-16T15:13:40+00:00Added an answer on May 16, 2026 at 3:13 pm

    You can use the WebClient class.

    using (WebClient ftpClient = new WebClient())
    {
        ftpClient.DownloadFile("ftp://domain.org/file.txt", "file.txt");
    }
    

    For authenticated requests

    using (WebClient ftpClient = new WebClient())
    {
        ftpClient.DownloadFile("ftp://user:pass@domain.org/file.txt", "file.txt");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just heard that - push notification is possible in iPhone I need
I have several pieces of metadata that I need to associate with a push
I have a function that pulls data out of an XML file. I am
I have a script that sends out a push notification to users based on
I am trying to read in a file that only have one column, and
OSX 10.7, XCode 4. I have a small problem: I need to push back
I need a little push in the right direction. Here's my problem: I have
I have UINavigationController and UIViewController, then I push another viewcontroller, but I don't need
I have need for a function pointer that takes two arguments and returns a
I have an existing application that I checked out from SVN. Say it was

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.