• 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

FTPConnection Error When Running on Production Server  RSS feed

 
Ranch Hand
Posts: 1912
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: 2270
290
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: 1912
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.
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!