Help needed in send and reciving file realtime over the web!

Here is a scenario what I want to do and need some ideas about proceeding.
I have a directory where the files are being added every 5 to 10 seconds. These files are to be transferred one at a time to some other location using some kind of secure protocol. The party receiving files will process each file and send the response back instantaneously. The send and response for each file is between 2 to 4 seconds. The response file is saved in a separate directory. If a successful response then sends another file and so on.
The program iterates through the directory and if any files will send if no files wait for 10 seconds and check if any files to send and will run as long as someone manually shuts down. What's the better way to achieve this functionality.
Any ideas the best approach and where to start. Thanks

When you say "the send and response for each file is between 2 to 4 seconds," are you saying that's your requirement?
What happens to the original files after they are sent? Are they deleted? If not, you need to be able to detect which files are new.
You could write a standalone client and a standalone server, and do everything at the socket level.
You could use a webserver to receive and process the requests.
You could use SOAP or CORBA or JMS. It depends on more details of your requirements, your experience, time constraints to complete the project, environment...
Basically you've walked into a car dealership and said, "I need a car. It should have an alarm and be able to go 80 mph. Which one is best for me?"

Similar Messages

  • Help needed with layers and project files....

    Hello
    I am new to after effects so this might be a simple issue for most. I am having an issue with my layers not matching the files in my project window. I accidently deleted a comp file the other day so I had to remake a few layers but they are not showing up in the project window/solids folder. I have 5 layers on my timeline and only 4 files in the project/solids folder. Some of the files names do not match the ones in the timeline. Is there a way to create a new comp with the files that I have open in my timeline or to replace the ones in the project window?  I started a project a few days ago, Im trying to make a few partical orbs dancing on there own path then they will come together and then creates a few smaller ones. Im at the point where I want to copy one comp to another or copy the layers over but the particals follow one light instead of the original light from its own comp. I think the file names in the project window might be the issue but I really don't know. Any help or comments would greatly be appreciated
                                                     Thanks a million
                                                                   Adam                                                                                                                                                              
    Using trapcode particular and AE CS6
    Windows system

    Layers on the timeline are just instances of the source footage. If you rename them on the timeline, that won't affect the number or naming of the sources in the project window. Toggle the column header in the TL to see which laywer uses which source.
    Mylenium

  • Help needed about HTTPS and policy files !!

    Hi everyone,
    my Web Start application crashes with a SSLPeerUnverifiedException when I
    try to connect to the server with HTTPClient :
    // proxy settings
    HTTPConnection.setProxyServer(ipProxy, portProxy);
    // connection
    HTTPConnection con = new HTTPConnection("https", serverName, -1);
    // Post (then there is a SSLPeerUnverifiedException....)
    HTTPResponse rsp = con.Post("/myurl.jsp, toSend, ct_hdr);
    My application runs in a secure environnement configured by the javaws.policy :
    grant codeBase "file:${jnlpx.home}/javaws.jar" {
    permission java.security.AllPermission;
    and the ${user.home}.java.policy (shared by another application, an applet I think) :
    keystore "file:${user.home}/xxxxxxxxxxxxxxxxxxxxx.p7c";
    grant codebase "https://xxxxxxxxxxxxxxx/-" signedby "xxxxxxxxxx" {
    permission java.lang.RuntimePermission "usePolicy";
    permission java.lang.RuntimePermission "accessDeclaredMembers";
    permission java.lang.RuntimePermission "setIO";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "stopThread";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.security.provider";
    permission java.lang.RuntimePermission "loadLibrary.*";
    permission java.security.SecurityPermission "insertProvider.SUN";
    permission java.security.SecurityPermission "insertProvider.JCRYPTO";
    permission java.security.SecurityPermission "insertProvider.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "putProviderProperty.JCRYPTO";
    permission java.security.SecurityPermission "putProviderProperty.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "removeProviderProperty.JCRYPTO";
    permission java.security.SecurityPermission "removeProvider.JCRYPTO";
    permission java.security.SecurityPermission "removeProvider.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "removeProvider.SUN";
    permission java.util.PropertyPermission "*", "read,write";
    permission java.io.FilePermission "<<ALL FILES>>", "write,read,delete";
    permission java.net.NetPermission "specifyStreamHandler";
    permission java.net.SocketPermission "localhost:1024-", "listen";
    permission java.net.SocketPermission "*", "connect,accept,listen,resolve";
    permission java.awt.AWTPermission "accessClipboard";
    permission java.lang.RuntimePermission "queuePrintJob";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
    grant codebase "file:/myApplication/-" {
    permission java.security.AllPermission;
    In this file (.java.policy) when I replace "codebase "https://xxxxxxxxxxxxxxx/-""
    by "codebase "http://xxxxxxxxxxxxxxx/-"" everything works fine !! It's very very
    very very strange...
    my application is launched by Web Start 1.2 and use JRE 1.4.1
    Any ideas ? Please, I become crazy...

    In this file (.java.policy) when I replace "codebase
    "https://xxxxxxxxxxxxxxx/-""
    by "codebase "http://xxxxxxxxxxxxxxx/-"" everything
    works fine !! I am not so sure that a code source cares for whether the resource is downloaded with s-http or normal http. Is the distinction important for the policy file?
    You could go digging in the RFC that describes what a URL is (because that is what the code source is).
    Also you could switch on a nice flag in you server environment that output information if security things go wrong: -Djava.security.debug=failure
    In the output you should see from where your code is loaded. If it says http and not https, then that is what should appear in your policy file.

  • Help - Need Line in and Aux inputs active at the same time..... Audigy SE

    The company I work for purchased 3,000 of the Audigy SE? SB0570 sound cards to replace our aging original SB6 PCI cards used in our call centers. The application and Hardware require that the AUX connector and the Line in connector are both acti've at the same time in order for things to work properly.
    Problem is that when I go into the mixer settings (or windows volume controls) when I select one of the inputs to go acti've, it mutes the other two inputs (mic, line-in, or AUX). Does anyone know of a work around to let me activate the AUX and/or Line-in/Mic at the same time??
    Our workstations run Windows 2000? (but as a test, I?loaded up another PC with XP SP2 and it exibits the same problems)
    Thanks in advance for your help.

    We are using the internal AUX in connector to take audio from a vendors custom card, and at the same time we have to take audio in on the flexi-jack input on the rear of the card. The original SB PCI cards we have been using for 5 years allowed us to do this, but these new ones do not. I wrote an e-mail to Creative Tech support and here is their response: Basically it is a no go, so I am now looking at other manufactures that can support our requirements. Good news is that I contacted our supplier today and they are willing to take back all of the cards that are still sealed in their original packaging... about 2,800 of them.
    Dear Harry
    Thank you for reaching us at Creative Email Technical Support; we appreciate the opportunity to assist you.
    Based on your description, I understand that you are unable to use AUX IN and Line In/Mic In simultaneously.
    I would like to apologize for any inconvenience and seek your understanding, and are certainly thankful that you have taken precious time to bring this matter to our attention.
    Please allow me to assist you with regard to this issue.
    For your information, you are only able to use one of the option at a time.
    If you are trying to do a Recording, you may select "What U Hear"
    option.
    I hope the above mentioned solutions will be able to resolve your issue.
    If you still require assistance, please reply to this email with any previous correspondence to ensure the quickest and most accurate service.
    Best Regards,
    *removed*
    Technical Support
    Creative Labs Americas
    To provide feedback on your "Creative Experience" please click on the following link:
    http://www.**bleep**.com/support/contact/welcome.asp?r=CLI&d=TS[/u]
    This link is provided so that you may provide feedback on your "Creative Experience". If you require further troubleshooting or have additional questions simply reply to the original mail and we will be glad to assist you.
    Admin notes: Removed the name of the support advisor for their privacy.
    Message Edited by KokChoy-CL on <span class='local-date'> 0-22-2009<span class='local-time'> 0:57 [email protected]

  • Send and Reception MMS/Connection to the Web

    (Sorry for my english ... I'm french..)
    Hello, since I changed flea on my Blackberry Curve, I do not receive nor can send of MMS well that my fixed package authorizes it  to me, furthermore when I try to reach internet via my mobile or to connect me in one Wi-Fi this message displays: " you are not at present in a zone being able to manage the communication of data. Consequently, the browser can get back no web page. Re-try in another zone or contact your service provider if the problem persists. " However, when I put back the former  flea  which I received during the purchase of my mobile, everything works marvelously. You could help me please because I pay options that I do not take advantage. (Sorry for my english ... I'm french..)

    Hello maevaberry9300,
    Welcome to the BlackBerry Support Community.
    I would recommend calling your mobile service provider to investigate this issue for you as it is likely related to a change on your data service plan based on your description. 
    Thank you.
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • XML file transfer over the web

    A company is sending us an XML file via push technology and visual basic:
    'Set up to post to client server
    objHTTP.Open "post", “http://someURL.company.com”,
    'Set a standard XML header for the content-type
    objHTTP.setRequestHeader "Content-Type", "text/xml"
    'Send the XML.
    objHTTP.send cXML
    'Get the return message
    cClientReturn = objHTTP.responseText
    nStatus = objHTTP.Status
    cStatusText = objHTTP.statusText
    What is the best way to receive the XML from our company's end. We want to use PL/SQL code? Is Advanced Queuing a possible solution. What is the most eficient and straightforward solution?
    Thanks,
    JD

    It depends on the # of concurrent requests and what you plan to do with the doc.
    Two choices:
    1) Use XMLDB HTTP server: leverages XML DB data management (straight-forward and simple)
    2) Use OracleAQServlet: provides asynchronous message queuing

  • Applet security -- accessing files over the Web.

    I guess the topic pretty much sums up my question..
    I have an applet and I want to read a file from over the web.
    After creating a URL, I try to retrieve an inputstream by calling openStream() but I get all the java.security.AccessControlException: access denied rubbish..
    How do I get it working ?

    The applet can only read data from the server where it is saved. For security purposes applets have limited capabilities. They can't write data to a remote hard drive or read data from remote machines. A way around this is to create a "trusted applet". Basically what it does is informs any machine you are trying to access that you wrote this applet and are responsible for any negative outcome. There is a tutorial provided by Sun that can explain this better than I can. Here is the link:
    http://java.sun.com/security/signExample/index.html
    Good luck.

  • I am new to the ethernet communicat​ion using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.

    i am new to the ethernet communication using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.
    Solved!
    Go to Solution.

    Hi thanks for the help.
    Actually i am trying to send 10 sine signals from server pc to client pc. So i will bundle 10 signals in server pc and send it and in client pc i am unbundling it and need to save in TDMS format.
    Till unbundling i was able to do. TDMS format it is saving only last value. I need to save all the values. Kindly help me on same. I am attaching both the VI.
    Attachments:
    Client.vi ‏62 KB
    Server.vi ‏252 KB

  • Need to send mail & upload files using JSP

    hi, got a lot of issues,.. just starting out as a developer.. so here goes.
    1st Need to send mail & upload files to server using JSP(tomcat).. an example to demo it would be nice.
    thanx in advance

    Look at this for email:
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=285950
    and go to:
    http://servlets.com/cos/
    for a package to upload files.

  • Help needed with header and upload onto business catalyst

    Can someone help with a problem over a header please?
    I have inserted a rectangle with a jpeg image in  background, in the 'header' section, underneath the menu. It comes up fine on most pages when previsualised, going right to the side of the screen, but stops just before the edge on certain pages. I have double checked that I have placed it in the right place in relation to the guides on the page.
    That's one problem.
    The second problem is that I tried to upload onto business catalyst, which got to 60% and refused to go any further, saying it couldn't find the header picture, giving the title and then u4833-3.fr.png. The picture is in the right folder I have double checked. And it isn't a png. Does it have to be ?
    And the third problem is that I got an email following my upload from business catalyst in Swedish. I am living in France.
    Can anyone help ? Thanks.

    Thanks for replying,
    How can I check the preview in other browsers before I publish a provisional site with BC?
    The rectangle width issue happens on certain pages but not others. The Welecom page is fine when the menu is active, also the contact page, but others are slightly too narrow. Changing the menu spacing doesn’t help - I was already on uniform but tried changing to regular and back.
    In design mode the rectangle is set to the edge of the browser, that’s 100%browser width right?
    Re BC I have about 200 images on 24 different pages and it seems to be having difficulty uploading some of them. But it has managed a couple I named with spaces but not others I named with just one name.
    Is there an issue on size of pictures ? If I need to replace is there a quick way to rename and relink or do I have to insert the photos all over again?
    I’m a novice with Muse with an ambitious site !
    Thanks for your help.
    Mary Featherstone
    Envoyé depuis Courrier Windows
    De : Sanjit_Das
    Envoyé : vendredi 14 février 2014 22:15
    À : MFeatherstone
    Re: Help needed with header and upload onto business catalyst
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion 
    Hi
    Answering the questions :
    - Have you checked the preview in Muse and also in other browsers ?
    - Does the rectangle width issue happens when menu is active , or in any specific state , Try to change the menu with uniform spacing and then check.
    - In design view the rectangle is set to 100% browser width ?
    With publishing :
    - Please try to rename the image file and then relink
    - If it happens with other images as well , see if all the image names includes strange characters or spaces.
    - Try again to publish
    With e-mail from BC :
    - Under preferences , please check the country selected.
    - If you have previously created partner account in BC and selected country and language then it would follow that, please check that.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6121942#6121942
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6121942#6121942
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6121942#6121942. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Some help needed for improrting and editing

    Hi,
    I need a litle help with two issues.
    1) I was trying to edit a photo but when i click the edit button, I can see the photo at the top of the screen in the film strip but not in the edit screen and I have also noticed for this particular picture I cannot view it in full zoom. All I can see is an " ! " mark.
    2) I deleted this picture and tried to import again but iphoto states that it cannot import because it already exists. I tried closed the program, deleting the cache.

    Derek
    It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss
    iPhoto is a database and like any database it needs you to manipulate the data via the app itself, and not via a back door. So, that's why it thinks the pic is still there - because the entry in the database is still there.
    The correct way to remove a pic is to move it to the iPhoto trash and empty the iPhoto trash. This will remove the pic from the database and the HD.
    Now your database base is bunged up you have two choices: one is to return things precisely the way they were the other is to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Assuming you renamed a file to make it easier to find:
    There are three ways (at least) to get files from the iPhoto Window.
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    To upload to MySpace or any site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser. Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves. If you're willing to risk database corruption, you can restore the older functionality simply by right clicking on the iPhoto Library and choosing 'Show Package Contents'. Then simply make an alias to the folders you require and put that alias on the desktop or where ever you want it. Be aware though, that this is a hack and not supported by Apple.
    Regards
    TD

  • I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos. The question I need answered is ( and not able to find the answer on any of you help pages).....  Do the following have free copyright

    I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos.
    The question I need answered is ( and not able to find the answer on any of you help pages).....
    Do the following have free copyright to publish on facebook and U Tube?
    1.Garage band sounds?
    2.Slide show...Sample music and Theme music?
    3.iMovie...iMovie sounds and iLife sounds ie.Medal Ceremony and Memorial etc?
    I note one can publish to shared net places directly from iMovie so one assumes these are copyright free for non-profit making and non-comercial use.
    It is impossible to contact apple direct.No email address.We put our selves at risk without this knowledge and like applemac, facebook will not communicate direct.Will applemac please take responsibility for copyright/the above that they are all too willing to sell to us but not support us with that knowledge.
    I have Mac OS X Snow Leopard version 10.6.2 (2009 bought in 2010)

    Thank you Klaus1.The large font, I copied and pasted from my mail box.I'm visually impaired...not to a huge degree but it helps to use the large font.I believe you are right about the copyright on the imac stuff but if facebook decide otherwise, you have to reply electronically to their challenge.If you can't provide a reference directly from the copyright owner then they remove the video.I believe this is a programmed response and no human is involved which now makes it impossible for me to get my video uploading restored.They detect added soundtrack automatically and then challenge.There are many others in the same boat and facebook will not communicate.They have various discussion sites on which I have left messages including Mark Zuckerbergs own facebook but I don't think anyone from facebook ever reads them.I intend to start a second facebook which I can use purely to get my videos uploaded as a lot of my friends enjoy them BUT don't want fall foul of their programming again.If only iMac would put something on the net to this effect.I think it is so unfair that with modern technology it is impossible to contact these large conglomerates personally and receive an email response.I tried emailing [email protected] but I got a failure notice.If you have any ideas on how to get verification from apple direct, I would be very grateful.Thank You.

  • Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    If you just mean, can I close it, sure. In Reader XI click the Tools button to close or reopen it.

  • How does one use bluetooth to send and recive on t...

    sending and reciving via bluetooth using nokia lumia 610

    frustrating, I know, considering that every Symbian and maemo/meego device Nokia has sold years previous did this.
    as mentioned. no go on the lumia's by OS default.

  • I signed up for the edge program and need to send back my old phone.  The instructions say I need to put it in the edge bag provided with my new phone order, but no bag is in the box.  Can I get one at a store?  Please respond!!

    I signed up for the edge program and need to send back my old phone.  The instructions say I need to put it in the edge bag provided with my new phone order, but no bag is in the box.  Can I get one at a store?  Please respond!!

        monkeybuttqueen,
    Thank you so much for reaching out to us today. I hope you are enjoying the new device! I do apologize that you didn't get the proper info sent to you to send back your old device. You can always print a label online from My Verizon. You can do that at www.verizonwireless.com/printlabel Pleaes keep us posted if you have any questions or concerns.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for