473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FTP downloads from server to user

I'm making a remote ftp client. I need to allow the user to download a
remote file from the server of his choice to his local machine, without
first downloading the file to my server (this wastes my bandwidth.)

So far the user can login to a ftp server of his choice, browse the
root dir and change to another dir and browse it.

I've tried ftp_getting a remote file, but ftp_get wants to download the
file to my server.

I've also tried a link like:
ftp://user:pa**@ftp.mydomain.com/thedir/thefile.ext, but that does not
seem to work.

Is there any way to tell ftp_get to send the file directly to the
user's browser, or is there something that I am missing? Or.. is what
I'm trying to do impossible?

SM

Jul 17 '05 #1
1 1156
Sturnoff Megantic wrote:
Is there any way to tell ftp_get to send the file directly to the
user's browser, or is there something that I am missing? Or.. is what
I'm trying to do impossible?


Not without using your server as a buffer, because the script on your server
will have to retrieve the data and send it to the browser.

Sending the user name and password through an FTP link doesn't work anymore
in IE since the SP2 update of Windows XP. The only workaround would be to
provide a normal FTP link, which will render your application obsolete...
JW

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: PJ | last post by:
We're experiencing an IE specific issues with file downloads. I'm chunking the file to the response stream and that is working great, but an issue arises if the user clicks "Cancel" during the...
5
by: Earl Teigrob | last post by:
My company sells software and wants to provide downloadable product. Some of these downloads will be full CD's of over 550M I had everything working fine using Response.filewrite() but when we...
2
by: Sam-Kiwi | last post by:
I've spent the last 6 months developing a pay-per-download website using ASP.NET Users purchase documents and then download them. The intention is that users are only charged for documents...
5
by: Thom Little | last post by:
I have a windows application that has an update form that uses AxWebBrowser to connect to a distribution site. This site uses a Response.Redirect to download of either a .msi file or a .zip file....
2
by: deko | last post by:
I have files on my Apache web server that are NOT in publicly accessible space. I want to make these files available for download only to authenticated users. I currently use a download script...
6
by: Parrot | last post by:
I am using WebClient to download a file from a server in my webpage. How can I create a dialog that asks the client for a download path? Now I am just hardcoding a directory path for the...
2
by: C# programmer | last post by:
Hi All, I'm working on a project which requires tracking of recent document downloads. There is a feature in which user can download the docs without logining into the website for some of the...
2
by: Dahak | last post by:
I may be having an attack of the stupids and my Google-foo is failing me today, but I can't seem to get past this problem. I have a script that indexes a directory and provides the user with a...
7
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.