File download silently

when i click the button file download silently into server locations php

What do you mean here? I clicked the thread title for I thought you want to download a file “silently”.

You will need to elaborate.

What button? Where is it located?

Are you trying to design something, or are you just trying to access something?

i want to download the file when i click the button.But file downloaded silently into server side locations.Not in downloads folder. I want to setup the location where it will download… ok guys got my point…?

use curl or wget using coomand line
i do it so.

I still don’t quite understand what you’re trying to do.

What application are you using to download files?

I want to download a file when i click a button downloaded file silently download and store into server locations and it willl return to client locations… Got my point guys…?

When you say download should it be upload?

You want a button on your webpage you use to upload a file to a location on the server and then return to the same or another page on the website?
If so would this always be the same file or would the client need to pick a file every time?

It’s not our intention to frustrate you. We just don’t have a clear understanding of what your situation is. We’re not telepathic, nor can we see what’s on your screen. You need to tell us more.

Is this a problem with a browser, application, or website you are trying to use?

Or, is this code that you are attempting to write?

please correct me if I’m wrong.

Issue one: Your PHP code is giving an error message (i.e. not “silent”)
Issue two: You want to know how to adjust your browser settings to download a file to a folder in your localhost server instead of the default downloads folder.