After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155271 - ftp transfers use ASCII mode instead of BINARY by default
ftp transfers use ASCII mode instead of BINARY by default
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 160897 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-13 09:20 UTC by Jeroen Zwartepoorte
Modified: 2005-02-03 21:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeroen Zwartepoorte 2004-10-13 09:20:01 UTC
If this really is a bug in the ftp: method in gnome-vfs, please change the
product accordingly.

When i "Connect to Server" with a "Private FTP server" and i transfer some .jar
files (.zip files actually), they are transferred as ASCII. The resulting .jar
files won't work properly as a result. I had to upload them from a terminal
using lftp (which uses binary mode by default).

I did not see an option in the "Connect to server" where i could specify whether
to use binary or ascii mode. I expect nautilus/gnome-vfs to use binary for the
default mode.

This is with nautilus-2.8.0-3 and gnome-vfs2-2.8.1-8 from fedora core development.
Comment 1 Clark Torgerson 2004-10-30 13:20:55 UTC
Experiencing the same problem. I tried to mount a folder on an FTP server that I
use for pictures for my website. During the upload, the images became extremely
corrupted.  

Using Ubuntu, gnome-vfs-2.8.2, and Nautilus 2.8.1.

More info here:

http://ubuntuforums.org/showthread.php?t=2627
Comment 2 Markku Kaukinen 2004-11-23 16:43:41 UTC
I have same problems. I checked with sniffer that files are sent in binary mode,
file sizes match, but destination file is corrupted.
Comment 3 Tara Chen 2004-12-03 18:32:26 UTC
Ditto. I'm having the same problem running the ppc version of ubuntu on a 
333mhz iMac DV (same infor as Clark Torgerson otherwise). It doesn't seem to 
matter weather I'm using ftp to connect to a windows, linux, or Mac OS X 
server. The problem is the same. Er... if that information is at all helpful.
Comment 4 David A Knight 2004-12-05 11:39:20 UTC
This is already fixed in gnome-vfs-2.8.3
Comment 5 Vincent Noel 2004-12-10 18:35:10 UTC
*** Bug 160897 has been marked as a duplicate of this bug. ***
Comment 6 Sebastien Bacher 2005-02-03 21:38:43 UTC
this bug is fixed