Best way To download file on remote server [closed] - spring

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I have To create a spring batch which have To connect on remote server ( nginx) and get list or files and download on local server for treatment.
There is no API
How To do that in the best way ?
Ftp ?
Thanks

If you already have an FTP server running, you could use Apache Commons Net API to download files as shown here. However, depending on your exact scenario, FTP might be insecure.
As an alternative to FTP, WebDAV comes to mind, which is based on HTTP(S). I have used sardine for uploading files to an apache httpd server from a Spring Batch client. I haven't set up WebDAV on nginx myself yet, but you can find quite detailed instructions on the web.
Or if an sshd is running on the server, you could either use JSch to transfer the files via SFTP as described in this tutorial or use spring-integration-sftp (which also uses JSch under the hood).

Related

XAMPP mysql connection is refusing after installation of Net Beans IDE [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I have installed Net Beans IDE.But it makes my XAMPP server MySQL non function able.Please see attachment.How I can configure to XAMPP with my old mysql database.I have useful data on my previous database.Any helps ?
This usually occurs when you have wrong credentials in your [.../phpMyadmin/config.inc.php].
If you have another mysql instance installed and the username and the password that you use in this file is different,
change the username and the password in the above file to match.
Edit: Try running cmd as an administrator and type sc delete mysql.
Restart xammp.

Move Magento from remote to local server [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm running:
WAMP on Windows 8
Apache Version: 2.4.2
PHP Version: 5.4.3
MySQL Version: 5.5.24
I've all the module needed for Magento active. I try to install a fresh copy of Magento and it works without problems (except the login issue that i fixed).
I did the following steps:
copy all files from remote server by ftp to www/mysite (mysite is a sub folder of the WAMP's www folder)
dump the remote db (adding drop table istruction) and imported in the local db (checked the data in local.xml)
replaced all the ocurrency in the db (http://www.mysite.it) with
(http://localhost/mysite)
the tables secure_url and unsecure_url both have the final /
Now I would just run "magento-cleanup.php" to set permission but I receive the following error:
Not Found
The requested URL /mysite/ was not found on this server.
The same thing for every page (home, admin).
Can anyone help?ell.
Not Found
The requested URL /mysite/ was not found on this server.
FYI - you are getting this error because you using wrong address
Here is the clean way of migrating magento from Remote server to localhost.
As you have mentioned that you have copied all the file from remote server to www/mysite.
SO while accessing the localhost site you should use this link localhost/mysite
and before accessing instead of changing the secure and unsecure url manually, you should let the mogento do all the necessary changes by itself.
for that first take backup and delete the following file app/etc/local.xml and than access localhost/crespigioielli, after that magento installation will be triggered. Good Luck

How to configure the Dynamics CRM 2011 Outlook Client [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
i have some problems configuring the outlook client for dynamics crm 2011. the crm-server runs on a dedicated server, that is not rechable from outside the network of my company (im using dynamics crm for my master thesis). i can only reach it from within our network and i have no problems to do so with the internet explorer and the web client.
when i start the config wizard of the outlook client, i am prompted to insert the url of the crm-server. when i type in the ip of it (including the port where the crm-server is installed), i get the response, that there is no communication possible (to the server).
i also tried to change the windows hosts-file and resolve the dns/server-name to put the servername into the field (instead of using the ip). but nothing can bring me further in the wizard. i cannot sign in to dynamics or select an organisation.
greets,
suutsch

Configuring ejabberd + BOSH + HTTP Binding + Candy.js [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am trying to get the Candy.js example to connect to a locally installed ejabberd server that I have configured according to this tutorial.
I know nginx is proxying correctly because I can navigate to the URL I specified in the nginx configuration file and the ejabberd HTTP binding placeholder page will display correctly.
I can also connect and log into to the ejabberd server normally through an XMPP client like Pidgin. Pidgin will also connect over BOSH perfectly fine when I specify the BOSH URL in the account setup.
When I login with Candy.js with debugging turned on, it tells me it has actually logged in successfully. It then returns a 504 error. I can also look at the ejabberd "online users" page and it will confirm that I am logged in.
So my question is, what am I doing wrong and how can I get the Candy.js example page working correctly?

How to set up/host a website on windows SERVER 2008 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I Have all the hosting details and Domain specifications, I have logged into ftp using ftp details now where to upload the files of my website to make it work?
Generally in C:\inetpub\wwwroot\. However, I highly suggest you research a lot more on the topic if you're going to be managing a web server.
You should become familiar with IIS and IIS management. In windows server 2008, You can use Server Manager to add the IIS Web Server role if it doesn't already exist. Then you should expand Roles and Web Server (IIS) to reveal "Internet Information Services (IIS) Manager". That is where you set up the web server. Explore the menus there, they provide options you will need. Enjoy!
If you have a domain name and FTP details, sounds like you're using shared hosting. In that case, often the FTP directory will have "httpdocs" in it or "wwwroot", or maybe even "public_html". You place a file there and it should be accessible through the domain. Of course it might also be the case that you will need to change your nameservers on the domain to the nameservers that the hosting company provided.
Whenever I work with a new hosting company, I always do a test with a simple "test.jpg" (no scripting, no PHP, no ASP, etc). Once that works through the URL that I expect, I start more complicated tests.

Resources