C#.NET FTP Integration

  • Thread starter Maziar Aflatoun
  • Start date
M

Maziar Aflatoun

Hi,

Is it possible to redirect users to an FTP server from your site without
actually displaying the FTP username/password? Are there other alternatives?

Currently, I have it so that once I authenticate the user for a file (name)
in the database I then redirect the user to the file using
ftp://username:p[email protected]/. However, with this approach users
can see the ftp://username:p[email protected]. Is there a way around
this?

BTW, our product download files are around 300 Megs so it must stay as FTP.

Thank you
Maz.
 
K

Kevin Spencer

Well, you could always build an HTML front end for the FTP client, which
would run on the back end.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
M

Maziar Aflatoun

But, our files are so big and if I was to do that would it give me a page
timeout? Do you have a sample code?

Thank you
Maz.
 
K

Kevin Spencer

Yes, you might indeed get a page timeout. What you might do is have the page
start the FTP process and return to the client. Then it can refresh itself
periodically to chack on the server for the finish.

No, I'm afraid I don't have sample code. Although I've written an FTP client
service before, it was just that - a service, which runs in the background
of the OS. It wasn't in any way an ASP.Net app.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
G

Guest

I haven't thought through this idea very much at all and will be surprised if
it works but what about a server.transfer to that url? You'll probably have
to change the response headers to get this to work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top