Page 1 of 1

Sending Files From a Local Program

Posted: Mon Jul 16, 2007 3:04 pm
by hawleyjr
I am working with a 3rd party who offers a CMS. We need to incorporate functionality in their CMS to "Send files to server"

Basically they have scanned files,pdfs, etc. located on the users machine we are going to incorporate an option to upload the files to my server.

They are using Visual C++ and I am stuck with PHP 4.x

My question is, what is the best way to accept the files? I thought about ftp but I don't want to create an ftp account for each customer. Is there a way to have the files pushed to my server and have PHP accept the file via $_FILES

I'm not really concerned with the C++ code their developers will take care of that. I'm just not sure which protocol to use.

Thanks.

Posted: Mon Jul 16, 2007 3:29 pm
by Ambush Commander
thought about ftp but I don't want to create an ftp account for each customer.
If done properly, anonymous FTP would do the trick nicely. While there are some security considerations though, I would prefer FTP.

Posted: Mon Jul 16, 2007 3:32 pm
by hawleyjr
yeah, security is a huge issue. Anonymous ftp just wouldn't work ;(

Posted: Mon Jul 16, 2007 3:33 pm
by Ambush Commander
SourceForge has managed to do it, I'm sure it's possible.