back soft

مطالب مرتبط با «server» در back soft | نویسنده: استخدام کار

Uploading a file along with post data in android to php server

Vote count: 0 I am working on a project where I need to upload files to a remote server. I also need to send some other POST Parameters along with the file. Following is the code on the android side: try { FileInputStream fileInputStream = new FileInputStream(sourceFile); URL url = new URL(UPLOAD_URL); co = (HttpURLCoection) url.openCoection(); co.setDoInput(true); co.setDoOutput(true); co.setUseCaches(false); co.setRequestMethod("POST"); co.setRequestProperty("Coection", "Keep-Alive"); co.setRequestProperty("ENCTYPE", "multipart/form-data"); co.setRequestProperty("Content-Type", "multipart/form-data;boundary=" + boundary); co.setRequestProperty("myFile", fileName); dos = new DataOutputStrea...

ادامه مطلب

Socket programming between linux client and linux/windows server and android

Vote count: 0 I want to send data from a Linux client to a Linux/Windows server (maybe a shared host) and finally to an android application like this figure : The data can be a text or stream video or audio. What are the best technologies and languages for this scenario ? What is your suggestion ? asked 1 min agoMike Let's block ads! بخوانید...

ادامه مطلب

FTPS server (vsftpd) is not responding

Vote count: 0 I've installed vsftpd on Amazon EC2 instance and added to the security group the ports 20-21. This is my configuration file: # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of vsftpd options. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's # capabilities. # # # Run standalone? vsftpd can run either from an inetd or as a standalone # daemon started from an initscript. listen=YES # # Run standalone with IPv6? # L...

ادامه مطلب

Backup Automate missing in BPA server

Vote count: 0 I am migrating from Automate 8 to Automate 10. Previously in Automate 8 Task I had a action like "Back up Automate". Now in BPA server 10 the action is missing. Can some one help on this? asked 3 mins agouser1139525 Let's block ads! بخوانید...

ادامه مطلب

SQL server installation problems

Vote count: 0 when i start installing SQL server i get this error message : there was a failure to calculate the applicability of setting license path error code enter image description here asked 1 min agoPain zou Let's block ads! بخوانید...

ادامه مطلب

how to upload iphone device song to server in objective C?

Vote count: 0 I have to upload only one song from device to server. So how i'm going to upload it on server using objective C ? I'm selecting a song & on done button click, i'm getting song data but not a song file which i can upload on server. asked 2 mins agoSankalp Kanungo Let's block ads! بخوانید...

ادامه مطلب

Server per app resource consumption

Vote count: 0 I considering to get rid off app. server. The server is ruing tens of war applications. Is it possible to tu this into microservice like architecture with embedded server per app with equal hardware? I am conseed about multiple(tomcat,jetty) instances memory consumption. How can I roughly estimate this. What are pros for having separate heaps per app vs one big heap? How will it behave during peak CPU/memory? I would like to hear any experiences with similar real environments. asked 2 mins agoZveratko Let's block ads! بخوانید...

ادامه مطلب

Cannot reach SIP server

Vote count: 0 I'm developing a VoIP IOS app using SIP protocol. I have my own SIP parser library and I use GCDAsyncUDPSocket to send data to the server. The problem is that I can't reach the server on double NAT with my app. I do PING and the server responds immediately PONG, but when I send a SIP package, I can't even reach the server. I try to reach the server with other clients like Zoiper or Media5 and works perfectly. So I think i'm doing something wrong. asked 50 secs agoiGongora Let's block ads! بخوانید...

ادامه مطلب

Java Proxy Server Settings at JVM Level

Vote count: 0 I have developed an java application which coect to facebook rest api and perform various tasks. It has to run where is corporate proxy server, I have tried various JVM level proxy settings but did not work any for me. I have tried following 1. System.setProperty("http.proxyHost", getHTTPHost()); System.setProperty("http.proxyPort", getHTTPPort()); System.setProperty("https.proxyHost", getHTTPHost()); System.setProperty("https.proxyPort", getHTTPPort()); 2. $> java -Dhttp.proxyHost=proxyhostURL -Dhttp.proxyPort=proxyPortNumber -Dhttp.proxyUser=someUserName -Dhttp.proxyPassword=somePassword HelloWorldClass Can anybody tell me the working recipe? edited 23 secs agoKarthikeyan Vai...

ادامه مطلب

SignalR - Verify Server Certificate

Vote count: 0 G'day, I'm writing something with SignalR, I've verified it's all working as I want... however I'd like to get access to the certificate received from the server so that I can verify the certchain I'm using the .net Client for it and have been through the various object's properties and methods looking for something to be able to access it. I've also searched online and found nothing referencing it. Just want to make sure it's my server devices are coecting to. Thank in Advance, Ryan asked 36 secs agoRyan Let's block ads! بخوانید...

ادامه مطلب

Server Sent Events (SSE) on Sinatra and Thin disconnects and reconnects repeatedly

Vote count: 0 I have made a small Sinatra application to track some of our company data in more or less realtime. The setup is pretty much like dashing.io/: Rufus Scheduler jobs are used to query a database in a certain interval. The query result is retued to a SSE coection stream. Clients subscribe to the stream (defined in javascript in erb views) and display the data different ways, e.g. using highcharts. This all works well, however, I've noticed that if I let the job run less frequent than every minute, the client will discoect and recoect all the time. Let me explain: The subscription javascript code looks like this: var source = new EventSource('/stream/chaels-energy'); source.onopen ...

ادامه مطلب

Rails server doesn't see code changes and reload files

Vote count: 0 I noticed that my rails server doesn't reload controllers, models and probably any other files after I change them. I use Vagrant, and I found that some people fix this problem by adding below line to the Vagrantfile. config.vm.provider "virtualbox" do |vb| vb.customize [ "guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 5000 ] end It doesn't fix the problem for me. I run out of the ideas what else I can do to solve this problem. I attach files which might be useful for you. My Gemfile looks like this: source 'https://rubygems.org' gem 'rake', '< 11.0' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '>= 5.0.0....

ادامه مطلب

Get Column into rows in sql server table

Vote count: 0 I have a query in which I want some columns to be appear as Rows. The query is Select * from Emp_mon_day where emp_mkey IN (select emp_card_no from emp_mst where comp_mkey in (7,110)) and Year = 2016 and month = 2 and Emp_mkey = 2492 whose out put comes as Now, I want to show Day1, Day2, Day3 as Rows in the output with the above query. How to achieve that ? I am using SQL server 2008 asked 1 min agocoder Let's block ads! بخوانید...

ادامه مطلب

Arcgis .NET Runtime WFS layer from Geoserver

Vote count: 0 does Arcgis .net runtime include any classes to load data from WFS and display it as a layer? I have been reading documentation and caot find any WFS support. FeatureLayer seems to work only with arcgis servers. My current solution: Request Geoserver -> parse gml -> display it as GraphisLayer filled with SimpleMarkerSymbol. I dont think its optimal, is there any better way of doing this? Thanks for info. asked 4 mins agoEvžen Horvat Let's block ads! بخوانید...

ادامه مطلب

Elixir GenServer doesn't work with module attributes?

Vote count: 0 I am setting up a GenServer that runs every hour to cache data. I followed the example José Valim posted is response to a question about how to do this. How to run some code every few hours in Phoenix framework? It works great except that if the interval I gave the call to Process.send_after/3 is a module attribute it does not run. Does anyone have insights as to why this might be? So the following does not work but if in the calls to Process.send_after/3 I replace @interval with 60 * 60 * 1000 it runs as expected (this is essentially the code from the other SO post above): defmodule MyApp.Periodically do use GenServer def start_link do GenServer.start_link(__MODULE__, %{}) end...

ادامه مطلب

python-twisted server with iphone client for gpio

Vote count: 0 I came across an iphone app where you can control the gpio pins on a raspberry pi. I am now trying to replicate this in a html format so that the gpio pins on a raspberry pi are controllable from a web page too and not just an iphone app. the server side code is as follows from twisted.inteet.protocol import Protocol, Factory from twisted.inteet import reactor import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) ## Use board pin numbering GPIO.setup(7, GPIO.OUT) ## Setup GPIO Pin 7 to OUT class RaspberryLight(Protocol): def coectionMade(self): #self.transport.write("""coected""") self.factory.clients.append(self) print "clients are ", self.factory.clients def coectionLost(self, rea...

ادامه مطلب

Parse-Server cloud code can't create Role

Vote count: 0 I have a class called Project for which I create a Parse.Role for read/write permissions. Here's how I create my Role: var roleName = "hasSound_" + ident; var projectRole = new Parse.Role(roleName, new Parse.ACL()); projectRole.getUsers().add(creator); retu projectRole.save().then(function(role) { var acl = new Parse.ACL(); acl.setReadAccess(role, true); //give read access to Role acl.setWriteAccess(role, true); //give write access to Role project.setACL(acl); project.save(); }); And here's the bad request I'm getting when trying to create the Parse.Role: Mar 04 14:39:32 ancient-lake-41070 heroku/router: at=info method=POST path="/parse/classes/_Role" host=ancient-lake-41070.he...

ادامه مطلب

Uri parameters doens't seem to work when using restTemplate on jasperserver rest service

Vote count: 0 I have a post method that should post something to an url in the format of: http://jasperserver.com?update=true. If I sent the request with something like postmen, the request works fine. When I use the code below tough, it doesn't seem like the update parameter does anything. I thought that the {update} would be replaced by true from the vars map. String url = "http://jasperserver.com/import?update={update}"; HttpHeaders headers = createHttpHeaders(MediaType.MULTIPART_FORM_DATA, MediaType.APPLICATION_JSON, jasperServerSetting); MultiValueMap map = new LinkedMultiValueMap(); map.add("name", patch.issue); map.add("filename", patch.issue); ByteArrayResource contentAsResource = ne...

ادامه مطلب

SQL Server, SSIS, loaing from folder on sql server file system

Vote count: 0 Is it considered good/bad practice use a folder on your SQL server box as a staging area for loading files to a database on the same box? edited 2 mins agojarlh asked 3 mins agoJohyF00 This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

configure offline tile server for remote postgresql database

Vote count: 0 I am working on offline tile server for my project. And I have managed to build that successfully with the help of https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ But now I am trying to separate the database from the local system. My aim is to run the tile server in one system and the database should be in different system. But I could not configure for that. So I do not have any idea how to do that. Can anyone help me with this? Thanks in advance. asked 38 secs agoAvirup Das This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/f...

ادامه مطلب