I am working on a xmpp client, using eJabberd as server. My question is How can I support offline file transferring?
I only want to do the offline file transferring,For example, I can transfer an image to user named as Purushottam even he is offline. When Purushottam will come back Online, the server will send him the image.
How can I do that? Is there any module for this in ejabberd ?
Thanks in advance!
Answer to question 1:
You can send it post it to your server using a HTML form upload or some REST service. After which you send a stanza to your user notifying that it needs to download the file from an accessable location on your server.
See also:
file transfer in multi user chat to muliple users
Answer to question 2:
As mentioned already: no
Related
I am creating an app for google assistant which will collect data while a user plays a game and then send that data to a project database. The API I am using to sent the data (synapse) requires it to be in file format, however, I can't find a way to create a file for the data due to the nature of google assistant apps. Am I overlooking a way to do this/is there a way to get around this and send the data somewhere else to make it into file format? The data is stored in a JSON object.
The conversation that your users have with your Action will be relayed from their Assistant device (such as Google Home) to Google's servers, which do a little processing, and then to your server. Your server is then responsible for sending back a reply to Google's servers, which sends it on to the Assistant device. This is very similar to how a web browser and server work, and for good reason - your server accepts commands via a "webhook", which is just a fancy way of saying that Google's servers contact your server via HTTPS, and you're sending back a reply via HTTPS.
Your webhook can do anything - as long as it does it fast enough. You can store what command the person has issued and either aggregate a number of them into a file format to send, or send each one.
Your Action does not, itself, run on the user's device any more than a web page with a form "runs" on the user's device. It displays there, just like your Action is read out loud... but almost all interaction is sent back to you with minimal processing on the device itself.
I've completed step 1 of my Parse migration by moving to my own MongoDB server. Everything is working fine except emails sent by Parse.com. Again, I've only migrated the DB so the cloud code (and Parse REST API) are still being hosted by Parse.com.
Clicking on any email verification or password reset email link ends with the "Invalid Link" error page. I've confirmed the token and username in the emails are correct.
My only thought is the Parse.com hosted email verification handler is not able to communicate with the external MongoDB server I migrated to (but the the Parse.com REST API is working fine so that doesn't make sense).
Any ideas?
sorry to inform you that the only option for us was to transfer the parse server code in github to our on server in Heroku..
I don't think this problem is going to be solved in parse.com...
but the guys on the parse server on github are doing magic!
And aomost completely transferred the entire parse.com server and it's full functionality into the github source code..it was not simple to transfer ourselves to a combination of mLab, parse-server open source, Heroku and oneSignal, but now, after many changes and fixes were made to the source code it workes like a charm :) kudos to the guys at parse server in github for their magnificent work!!!
Anyway, if any of you have questions regarding the transfer to use the combination mentioned above, you are welcome to make this post into a Q&A for transferring parse.com into your own server...
(As long as the admins will let us do this)
I am using Xmpp framework for a chat Application. I can able to send file through xmppOutgoingFileTransfer Obj.
But xmppIncomingFileTransfer Obj for receiving image is not working for me. Means it doesn't enter in to delegate method "didSucceedWithData" Method.
Please share the solution
For transfer images and videos you have to upload this on your server and after complete this upload process you have to send this(Upload video/image) link to user. So user can easily download from that particular link.
I know this type of question is posted earlier also.
But I didn't got any answer on that link.
I am using open fire server, XMPP, and strophe for html chat client.
now I want to transfer image to all subscriber of my pub-sub node.
Is it possible to implement file transfer using strophe?
a way maybe is upload the file to yoyur server and sen the link to the another user like a message....later the user clicks the link and download it or show the source as an image in the chat area...
I'm trying to track down some bugs experienced by a user.
I'm just thinking the easiest thing, if she was willing, might be to have a feature would would send the database file to me.
How would I get at the file and send it ?
I don't think attaching it to an email would be the best idea, but I can't think of anything simple ?
Ideas ?
The idea of sending the DB via email probably is the simplest mechanism. Not sure Apple would have an issue with this as long as the user is aware they are sending their data to the App Support team.
Aside from the email idea, you could extract the data of interest into an XML format that could be easily pasted into the body of an email, or sent via HTTP POST back to your server. Likewise, you could HTTP POST the entire DB file back to the server, or to a Dropbox account, using the Dropbox API.
You would use the NSFileManager class to get at the DB file contents in order to send back to the server.