I am looking for an alternative to FTP due to security limitations. I have a desktop app where all data is stored in the cloud on a mySQL database. Users may attach documents to projects. Any documents they attach should be available to other users so these should also be stored on the same server.
Does anyone have any suggestions on what would be the best solution. I have thought about using PHP to upload the files. When the user wishes to view the file, I imagine it would need to be downloaded or possibly opened in a browser (most files are stored as PDF).
Thanks in advance
FTP alternatives for file management - CLOSED
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
FTP alternatives for file management - CLOSED
Last edited by nicoloose on Wed Jun 06, 2018 7:13 am, edited 1 time in total.
-
- Posts: 253
- Joined: Wed Aug 19, 2015 4:29 pm
Re: FTP alternatives for file management
You can avoid using PHP altogether if you are able to use LC server on your server.
http://lessons.livecode.com/m/4070/l/40 ... ode-server
http://lessons.livecode.com/m/4070/l/40 ... ode-server
Re: FTP alternatives for file management
Unable to use LC server as I use a shared server on Godaddy and to date no-one has come back to me on whether this is possible.
I have come across Dropbox api though and this works really nicely as I am not fussed where the documents sit. I have managed to achieve what I want to more-or-less except for previewing files. I get a message to say that the file extension is unsupported which is correct as it doesn't support PDF.
Does anyone have any experience with using this Library? Is it possible to "launch" the file in a browser say?
I have come across Dropbox api though and this works really nicely as I am not fussed where the documents sit. I have managed to achieve what I want to more-or-less except for previewing files. I get a message to say that the file extension is unsupported which is correct as it doesn't support PDF.
Does anyone have any experience with using this Library? Is it possible to "launch" the file in a browser say?
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: FTP alternatives for file management
That would be a question for GoDaddy tech support. Most shared hosts support running custom CGI programs via directives in a .htaccess file in the web root folder, or a subfolder if you only want the CGI invokable for a subset of files. I haven't worked with GoDaddy myself so I don't know what their policies are, but a quick note to their Support should be able to answer that.
On the desktop, yes. I haven't yet used the launch command on mobile, but if you run into issues you may be able to use the URL scheme of the target app to open the file you want.I have come across Dropbox api though and this works really nicely as I am not fussed where the documents sit. I have managed to achieve what I want to more-or-less except for previewing files. I get a message to say that the file extension is unsupported which is correct as it doesn't support PDF.
Does anyone have any experience with using this Library? Is it possible to "launch" the file in a browser say?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: FTP alternatives for file management - CLOSED
Dropbox recently discontinued support for launching http files, due to security concerns. Other types of files may work.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com