Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to give my website's free trial version(or demo) as a link in my asp.net website through ftp.but I am new to ftp.can anyone suggest me for this.


Thank you in advance


R
Posted
Updated 30-Jan-11 22:29pm
v2
Comments
Sandeep Mewara 31-Jan-11 4:21am    
Link through FTP? Why?

Why in particular through FTP? Then you have to faff with passwords, permissions, etc.
Instead, just provide a clickable link to the file, and allow the users browser to handle the download. Easier for you, and more what the user is used to, as well.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 31-Jan-11 10:43am    
Good point - a 5. In other words, HTTP instead of FTP.
--SA
As far as I understand your question, you want to provide your website as demo. In this case you will provide a link in your website and once it is clicked a download through FTP will be started.

If this is so then you can zip your complete website so that it can be downloaded at once and to encorporate FTP consult the following article:
An FTP client library for .NET 2.0[^]

Or for a complete list of other articles on the same use the following:
http://www.codeproject.com/info/search.aspx?artkw=ftp&sbo=kw[^]
 
Share this answer
 
Comments
lakshmanriz 31-Jan-11 4:36am    
but i want to make that link invisible after completion of his 20 days of
trail version through his login
Umair Feroze 31-Jan-11 5:48am    
For this I need more clarification:

1. The trial period will expire on the basis of first log in or it will expire on the basis of first download.

2. How many times a user can download the file.

In either case, you need to keep the information of either log in or first download. Then a check is maintained that if the current log in subtracts 20 days is equal the to the first logged in or first download, set link.visible = false;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900