Yummy Software
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 25, 2011, 11:37:37 AM
4208 Posts in 850 Topics by 1370 Members
Latest Member: eAshliWonge
Home Help Search Login Register
Yummy Software  |  Yummy FTP  |  Problems & Bugs  |  Bizarre file names when using SFTP « previous next »
Pages: [1] Print
Author Topic: Bizarre file names when using SFTP  (Read 427 times)
Iritscen
Newbie
*
Posts: 6


Bizarre file names when using SFTP
« on: December 05, 2010, 09:16:01 AM »

First off, just wanted to say I really like this program.  The sync feature is great and I use it all the time.  Now, I always used to use this app for plain FTP connections, but recently one of the servers I have an account on switched over to requiring FTPES and SFTP.  My difficulties with FTPES aside (not 100% sure that isn't on my end), when I log in through SFTP in Yummy FTP and view file listings, some of the files (1/4 or so of them, seemingly at random) have this sort of issue:

myfile.zip
becomes
-rw-r--r--    1 33       33          13066 Feb 16  2010 myfile.zip

The program is actually telling me that this is the name of the file, but I know for a fact that it isn't.  Of course this supposed change in file name breaks proper syncing with the copy of the file on my HD, as well as causing other issues.  That string looks like what you get from an "ls -l" command, but I don't know why it gets prepended to the file name.  I didn't see where this has been reported before, sorry if I missed it.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1897


Re: Bizarre file names when using SFTP
« Reply #1 on: December 05, 2010, 11:00:14 AM »

The directory listing data sent by the server looks just like ls output. It's Yummy's job to parse that data and give you the proper name, size, date etc., but it seems that in your case the server is sending something unexpected, causing a parsing error.

First of all make sure you are using the very latest version of Yummy FTP, to eliminate anything I may have already fixed.

If the problem continues, I should be able to fix it - just select Save FTP Transcript from the File menu when the listing has the mistake, and send the resulting file to me:

support at yummysoftware dot com

Make sure to tell me the name of the faulty item.
Logged
Iritscen
Newbie
*
Posts: 6


Re: Bizarre file names when using SFTP
« Reply #2 on: December 05, 2010, 12:34:30 PM »

Yep, I have the latest version according to Yummy FTP.  Okay, I've emailed you the transcript and a sample screenshot of what I see in the app.  Thanks.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1897


Re: Bizarre file names when using SFTP
« Reply #3 on: December 06, 2010, 05:13:19 PM »

It turned out that the server was sending dates in Portuguese instead of English, which is the accepted standard format for server listings.

I adjusted Yummy's datestamp parser to take account of Portuguese dates and now it works well Smiley
Logged
Iritscen
Newbie
*
Posts: 6


Re: Bizarre file names when using SFTP
« Reply #4 on: December 07, 2010, 08:27:33 AM »

Hmm, are you sure it's Portuguese?  ;-)  The server is in Germany, maybe I should have mentioned that.  I just ran some month names through Babelfish to make sure, and here's a couple points of reference:

February = Fevereiro in Portuguese, but Februar in German (transcripts shows "Feb")
March = Março in Port., but März in German, (transcript shows "M√§r", probably a garbled "ä").
Logged
JD
Administrator
FTP Guru
*****
Posts: 1897


Re: Bizarre file names when using SFTP
« Reply #5 on: December 07, 2010, 11:06:50 AM »

Possibly Smiley

I used Google translate on the months that were shown in the transcript and Google said it was Portuguese....

Never the less, it now works!

I have some other issues to address before I can make a new beta, but I'll get back to you asap with it.
Logged
Iritscen
Newbie
*
Posts: 6


Re: Bizarre file names when using SFTP
« Reply #6 on: December 07, 2010, 11:32:45 AM »

Okay, well if it works, then that's what matters (I still think it's German though :-).  Thanks for your work on this!
Logged
JD
Administrator
FTP Guru
*****
Posts: 1897


Re: Bizarre file names when using SFTP
« Reply #7 on: December 07, 2010, 12:01:31 PM »

You're welcome Smiley
Logged
Iritscen
Newbie
*
Posts: 6


Re: Bizarre file names when using SFTP
« Reply #8 on: December 22, 2010, 11:13:39 AM »

Hi again.  Just got 1.8.3b7 the other day and connected to my server again.  It's still showing the same issues as before with certain files.  I could send you the transcript and screenshot if you like, but they'll be the same as before Smiley

Fwiw, I asked the admin of the server to look into the server's language settings, as he agreed that using a foreign language for an FTP listing is non-standard.  But he was unable to figure out how to change it without changing the locale of the server (which is in fact in Germany).  What's odd is that the admin, who is also in Germany, gets the months in English in his client.  I did read something about a LANG command that sets the FTP language, not sure if that is relevant.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1897


Re: Bizarre file names when using SFTP
« Reply #9 on: December 22, 2010, 01:42:54 PM »

Hi ... sorry that the problem isn't resolved!

Maybe I'm missing the encoding or something... please try to select all the text in the Transcript view (see Show FTP Transcript from the View menu) then drag it to an email reply to me. That should ensure I get the text correctly.

I'm not sure what's happening in the admin's FTP client. Yummy is simply scraping the listing data sent by the server.

In any case, I believe you on the language! Smiley

Logged
Iritscen
Newbie
*
Posts: 6


Re: Bizarre file names when using SFTP
« Reply #10 on: January 04, 2011, 09:21:29 AM »

Okay, I got your latest beta yesterday, and I can confirm that the file listing is fixed!  Now I can sync those folders again.  Thanks a lot for working on this.
Logged
JD
Administrator
FTP Guru
*****
Posts: 1897


Re: Bizarre file names when using SFTP
« Reply #11 on: January 04, 2011, 09:36:18 AM »

Excellent!

Thank you for your patience with this Smiley

I'll be releasing 1.8.3 asap
Logged
Pages: [1] Print 
« previous next »
Jump to: