Question Download file FTP

Will

New member
Joined
Feb 25, 2016
Messages
2
Programming Experience
3-5
Hello guys,
I have a web application in C # .NET .
I need to download a file directly to the client machine . That is, the User accesses the application , click a button , and download a file to FTP.
Can someone help me?

Thank's
 
The situation is this:
The web application creates a file in www / downloadfiles / test.txt
This test.txt file must be saved in the User 's machine in C : \ MyFiles .

My problem is that the web application can not access the folder c: \ MyFiles on the User machine, only on the server where the application is installed.
 
The web page doesn't have access to client file system, there is also no way to suggest path for the file download, but you can explain in your web page that user should save the file in a given folder for the reasons you may specify.
 
This test.txt file must be saved in the User 's machine in C : \ MyFiles .

Why? Apart from the fact that it's very poor form to save files to your own folder directly under the C: drive, why does your web site care where the file is saved?
 
Back
Top Bottom