javascript - Choosing destination folder for FTP download. (HTML, jQuery or PHP) -


i have written script in php connects ftp server , downloads latest backup of websites have created.

i have written script in php (using ftp_get , lovely functions!), have created nice looking dashboard in html, uses ajax not execute php code output "echo"'s textarea know ones downloaded , ones failed.

my problem not employee, there quite few of execute script, on dashboard want there way of choosing these backsup saved without having edit hardcoded destination in php. @ moment, it's hardcoded save desktop, if else use on computer, won't work.

i have tried searching this, no 1 has asked question needed answering.

if answers using html, javascript/jquery or php, handy.

thank in advance.

------------edit------------

not sure people understanding problem, try , explain differently :)

i have backup tool connect ftp server, go through each project folder , download latest backup of site. in total, there @ least 20 files downloaded.

multiple people using tool, depending around backup files.

bob might want save directly desktop: c:/users/bob/desktop.

barbara might want save in c:/users/barbara/backup folder/2017/

jimmy wants save in c:/users/jimmy/projects/project_name/backup-01-01-2017

and might want save onto external hdd.

i want tool have function allow user specify location on hdd these files saved.

i hope clearer.

many thanks.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -