OK, so today I'm trying to write a web page to link a bunch of known files and transfer them to another location.
Due to HIPAA and VA rules this has to be a secure file transfer, encrypted.
When they get to our site, they have to login as a specific user. The user belongs to a group. The site forces HTTPS secure connection if they try to come in as HTTP.
So, normally, if I wanted to provide a link to a file I would go something like this:
Can I just use SFTP in place of FTP? Or if I specify FTP will it literally invoke FTP on the browser end? Since the entire thing is running under SSL2 for SSH is this just plain overkill?
Or am I just being extraordinarily clueless?
I ask, cause normally I write code that uses PHP and runs MySQL commands and literally builds the output files - CSV, XLS, etc - from scratch, and sets the transfer type and authentication level. But this is so primative - a literal ONE FILE TRANSFER LINK - that I can't remember what to do, as the last time I did something like that, not using FOPEN() and scanning a dir and popping an array and building stuff was like ages ago in Internet time, and back then we used FTP.