Using my own server for uploading files in Outsystem - server

I am currently working in outsystems. I have an interface there which allows end users to upload files. But its getting uploaded to the Outsystem server, is there a way I can upload files to my own file server
I couldn't find any setting where I can change the server

It all depends on your file server I guess. Personally I upload files to a OneDrive using Microsoft's graph API. With this I am able to send binary data that I've uploaded via the OutSystems widget to this specific OneDrive. This works in traditional, reactive and mobile for as far as my experience goes.
Also, as mentioned before, the FileSystem extension from the forge is generally pretty useful for this kind of stuff.

Related

Upload a document to Socrata using REST API

I am attempting to upload a file to a socrata site using their REST API. The file(s) I am trying to upload can be access directly by my application and could be serialized, or I could point Socrata to a url. The rest of the datatypes I am using are pretty straight forward; strings, dates, ect. But I can't seem to find any documentation on how to upload a file using REST with Socrata.
Is it even possible?
Thanks in advance.
There's no "official" way of uploading files to Socrata, hence no documentation. If you want to attach a file to the dataset programmatically, then what existing libraries (Java in this example) do is use the /api/assets endpoint (which, if I'm not mistaken, is what the UI uses for uploading documents) and do a multipart POST.
soda-java's SodaDll::addAsset()
soda-java's HttpLowLevel::postFileRaw()

Google Cloud Storage vs SFTP

We have a new ThirdParty File Based Integration coming for one of our projects. Its a different company that puts a file and we would need to grab the file and continue processing. We need this file needs to be transfered securely. So First Option that comes is SFTP however we are thinking of doing a research on SFTP vs Google Cloud Storage. Can Google Cloud Storage be used instead of SFTP ? what are the pros and cons of the same. Thanks!
These are two different sorts of things. Google Cloud Storage is a service that stores files. SFTP is a protocol for transferring files between two computers.
If your only goal is to transfer a file from computer A to computer B, and both can speak to each other via SFTP, then that's a perfectly good solution.
That said, services like GCS are commonly used as a drop box for large files as part of a distributed workflow. For instance, one service might record video and upload that video to GCS, and then another service might later transcode that video or take some other action on it. That's also perfectly reasonable.
So, I guess the answer is that it depends on what you want to do.

Uploading large files to server. FTP or WCF?

i am working on an iphone project that i need to upload relatively large files (about 4-10mb's).
The problem is i am not sure which way is better?
Available options are:
1- Setting up an FTP server and upload files to the server
2- Writing down a WCF that lets me upload files by streaming to the server.
i am wondering which one is more reliable and which one is faster, less demanding on the client device (iphone/ipad)
Thank you for helping
Check out this sample: SimpleFTPSample on developer.apple.com.
I downloaded it and its very simple and useful.
Definetely FTP, since WCF in "compatibility mode" (i.e. basicHttp / wsHttp) will add a huge amount of overhead since you can't send binary content or use MTOM.

fetching a file from a url for mobile app: How to manage server side running Joomla?

Im new to website development and design so apologize in advance if the question is redundant.
I have a program where a client, using a URL string fetches a XML file from a webserver. This would be no problem right if it were a simple URL with no security or no CMS (like Joomla) involved: Just put the exact URL string and the client gets the file from the web server, done.
But, how would the process work if the URL is on my site hosted on GoDaddy and using a Joomla CMS?
Im trying to understand how the same process of fetching a file works on a hosted server using a CMS. Since I just made the transition from my site being on my school's servers to having a Joomla website Im hosting on goDaddy.
I mean where would I put the file if I also want the file to be accessible only if the client authenticates itself first. Just to be on the safe side. I mean is this how normally things work in mobile apps? I have a client program thats a iPhone app and within the app I have a XML file which is used as a data source for my UITavleView, but I want to check some URL to see if an updated version of the XML file exists. My app side programming is mostly done, now Im trying to learn the server side things I need to do to make this process happen with Joomla and my own hosted site
I donot understand how would the process work in that case. I mean, what are the things I would need to do on the server side to and the client side to make this possible?
Please help me understand or if you could point me to some links where these steps are illustrated...or if you could give me some Google key words I can search for to learn about this process.
thanks a lot
The fact that you have a CMS does not generally change how you access a file within the file structure of your domain unless the CMS protects certain directories. In this case, Joomla does not so you can directly access any file you wish. Depending on the sensitivity of the information you are trying to retrieve, you can protect the directory through your domain management panel. If it's not particularly sensitive, the authentication can be done by the app since the URL you are accessing can be easily hidden from the user.
It seems like that would be the simplest solution since the app will have access to user information by nature of where it resides.

Free web servers to publish csv files or other types of data

I am writing an App that requires some kind of outside input which I want the user to be able to update sporadically.
Are there any free web services where one can upload a file e.g. CSV and update it at any stage and then access it via iOS?
What about dropbox? Its free for small amounts and has a desktop and IOS client. It also has a fairly decent API.
http://www.dropbox.com