Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3451244
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:07:32+00:00 2026-05-18T09:07:32+00:00

I have a working application that downloads a specific file in the Ftp Server.

  • 0

I have a working application that downloads a specific file in the Ftp Server.
I have the filename I want to download, so I was just connecting and using:
http://ftp.retrieveFile(filename, fileInputStream);

So now we had to change the ftp server, and this new one ftp server I think runs under linux (the old one was windows). Now I can´t download files with name that contains ISO-8859-1 strings, like ç ã á ó õ.
I tryed to use ftpClient.setControlEncoding(“ISO-8859-1”) just after the constructor of the FTPClient but it didn´t work. when retrevieFile is called it returns false because it fails to find the file. But it is working fine with filenames without those strings.

I am reading the filename from another file…
I made a mistake once, that I read, the filename as ISO_8859-1 (but it was encoded as UTF-8 in the file) and then tryed to retrevieFile and it worked with strange characters in the name.
What is happening??

EDIT:

This are answers from the server:

SYST
215 UNIX Type: L8

FEAT
211-Features:
EPRT
EPSV
MDTM
PASV
REST STREAM
SIZE
TVFS
211 End

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:07:33+00:00Added an answer on May 18, 2026 at 9:07 am

    OK This was solved.
    I realized that gftp was uploading the files with wrong encoding in the name. It was using UTF8

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a C# application that connects to a FTP server, downloads some files,
I have an application that is working as a proxy using QTcpSocket to intercept
I have a small VB.NET application that I'm working on using the full version
I'm working on an iPhone application that downloads data from a web server and
I have an android application i have been working on that downloads an image
I have an application (winforms) that downloads a file to user's temporary folder, then
I'm working on an application that downloads some data from the internet using NSData's
I am working on splitting out an existing, working application that I currently have
I have been working on a BlackBerry application that consumes web services from ColdFusion
I have am working on a web application that makes use of helper classes.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.