• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

FTPConnection Error When Running on Production Server  RSS feed

 
Ranch Hand
Posts: 1932
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We switched a server on which a label generating software is installed.

My web app FTP's a file into a watched folder of that server.

My connection call works fine while running on my local host but fails when I deploy it to the production server.

If I switch back to old server it works also even when running from production environment.

 
Saloon Keeper
Posts: 2504
321
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like the server-side is having problems dealing with the user name provided by the client.

This is what a normal FTP log-in dialogue looks like:


In your case, it appears like the server had an issue with the user name provided by the client, and aborted the log-in procedure.


Check the log for the server-side to see if it provides any clues.  Also, if you can capture the network traffic using something like tcpdump or Wireshark / tshark, and take a look at the messaging between the client and server - what user name did the client provide to the server?

 
Steve Dyke
Ranch Hand
Posts: 1932
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ron McLeod wrote:It looks like the server-side is having problems dealing with the user name provided by the client.

In your case, it appears like the server had an issue with the user name provided by the client, and aborted the log-in procedure.
Check the log for the server-side to see if it provides any clues.



When running from my local host the server log shows user name but when I try from the production server the same code shows a blank user name in the log.
 
Pay attention! Tiny ad!
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!