Networking :: ASCII / Binary FTP Transfer Modes

Sep 14, 2009

I had a problem with the old good ascii/binary FTP transfer modes. I transferred some files (SQL scripting files, in which carriage returns DO matter) using FTP from a windows system to a linux system using filezilla "auto" mode, that should have resulted in ASCII mode for my sql files. These files are well formed and identical to the originals.

Then, someone else picked these files and moved them to another ftp server. I finally found that all <CR><LF> couples have been transformed in <CR><CR><LF>. I guessed that the problem was in the ASCII transfer mode - but, how comes that <CR><LF> => <CR><CR><LF>? I would have rather expected <CR><LF> to become <CR>.

View 2 Replies


General :: Convert Binary Number To Text/ascii?

Mar 16, 2011

is there command in linux which is able to convert binary (0101001010000100) to text like it means something

View 4 Replies View Related

General :: Convert Binary File In To Ascii File Using Shell Script?

May 23, 2011

i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.

View 5 Replies View Related

General :: FTP "ASCII" Mode - RFC 959 - "File Transfer Protocol"

Jun 8, 2010

[ This thread is a result of <<mod edit---another thread>> RFC 959, "File Transfer Protocol", dictates:


This is the default type and must be accepted by all FTP implementations. It is intended primarily for the transfer of text files, except when both hosts would find the EBCDIC
type more convenient.

The sender converts the data from an internal character representation to the standard 8-bit NVT-ASCII representation (see the Telnet specification). The receiver will convert the data from the standard form to his own internal form. In accordance with the NVT standard, the <CRLF> sequence should be used where necessary to denote the end of a line of text. Regardless of <<mod edit--another member's>> attempt to misinform and claim some sort of expertise in whatever, the ASCII mode works as expected.


// From <<mod edit---another thread>>

So, go on, vi a document in linux, save it with a .txt extension then ftp get it from a windows machine. Make sure to open it with Notepad. I am writing this post from the very same Windows machine I used in order to conduct the exact experiment you are suggesting. The text file has been successfully converted. If it has not worked for you in about 20 years, I would suggest you start using an FTP server that does not suck, or for the very least one that respects the FTP standard. It is also possible that you used a client which does not use ASCII mode by default, in which case we are dealing with PEBKAC rather than with bad server software.

The purpose of this thread isn't to continue the odd debate regarding signatures that was starting in <<mod edit---another thread>> but rather to (hopefully) protect various users from trusting <<mod edit--another member>> in this certain (FTP) matter. Tinkster closed the thread just as I was preparing to post, thus giving <<mod edit--another member>> the last "word". Once again: he doesn't know what he is talking about, despite his "doing this for over a decade". I'm wondering if "this" means "spreading misinformation and reinforcing it with claims of being an expert".

View 2 Replies View Related

CentOS 5 Networking :: 2 Bond Interfaces 2 Different Modes

Dec 7, 2010

I have 4 NICs and am trying to create 2 bonds. The first bond is mode 1, the second is mode 4. What happens though is makes both bonds mode 1. Here's my modeprobe.conf:

alias bond0 bonding
options bond0 miimon=80 mode=1
alias bond1 bonding
options bond1 miimon=100 mode=4 lacp_rate=1

View 4 Replies View Related

Networking :: Change Between 2G/3G Modes On A USB Stick Modem. (Alcatel X220)?

Mar 30, 2011

I have just bought a new netbook and now it runs ARCH linux.To connect to the internet I am using an Alcatel x220 USB 3G modem dongle and wvdial (with pywvdial) and here is wvdial.conf

[Dialer Defaults]
Init1 = ATZ


View 5 Replies View Related

Ubuntu Networking :: Consulting Regarding Edimax Wifi-usb Supported Modes At Jaunty (master And Ad-hoc)?

Jan 25, 2010

After purchasing few wifi-usb-dongles for my jaunty and lost many hours, i had no success in bringing them to operate as master or ad-hoc.The devices were Belkin, Level1, and a TP-Link 620 Though the Belkin could work as ad-hoc, but very often disconnects due to buffers issue (though I couldn't build the zd1211b driver for jaunty and it seems that no one can really help with that).

Now I would like to consult with you ahead regarding new potential devices, whether you know it operates as master mode or ad-hoc mode under jaunty (9.04)?

My concerns are regarding:
1. Edimax EW-7318UG
2. Edimax EW-7318USg
3. Edimax EW-7711UMN
4. Edimax EW-7711UTN
5. Edimax EW-7311USN
6. Edimax EW-7717 nMax
7. Edimax EW-7718 nMax

View 1 Replies View Related

Networking :: JPG Corrupted After FTP-upload In ASCII Mode?

Nov 23, 2010

I just uploaded JPG pics from a Win XP, through shell, on my FTP.When I downloaded them back (to a UNIX machine), they were all currupted and unreadable !After some researches, I found that Win XP's shell works by default in ASCII mode.

View 3 Replies View Related

Programming :: Finding A Utility To Combine Two Or More Binary Files Into A Single Binary File?

May 5, 2011

Is there any Linux utility to combine two or more binary files into a single binary file ?

View 7 Replies View Related

Programming :: Version Info Coded Into ELF Binary / Author And Company Name Into ELF Binary?

Nov 30, 2010

How to coded version info and other information likes author and company name into the ELF binary?

I prefer the put the version info during build step.

View 5 Replies View Related

CentOS 5 :: Convert Between "ASCII English Text" And "ASCII Text"?

Aug 3, 2011

This is weird, and I never noticed before, but now I have an application that is borking on weird things like when /etc/hosts is of one file format or another, and I don't even know the difference between the two (google doesn't tell much either). on CentOS 5.5/5.6 x86_64: a which on the following is an interesting tell:

vi = /bin/vi
vim = /usr/bin/vim

both are actually vim version 7.0.237 but sum differently, and although they are both actually separate executables in the stock installs of CentOS I've been building, on most distros, and older versions of CentOS it seems, vi is usually just a symlink to vim - but again, not in these fresh installs it seems. When I create a file with the 'vi' above, it defaults (usually) to "ASCII text" (but not always) When I create a file with the 'vim' above, it defaults to "ASCII English text" (and causes a particular application I'm working with to bork and barf). It seems the OS is installed by default yielding both file types too, as evidenced by the following:


View 4 Replies View Related

Red Hat :: Different Modes Of Vmstat?

Nov 26, 2010

how do you enter into different modes of vmstat e.g-disk mode,disk partition mode and slab mode.going through man pages i figured out using "vmstat -p <partition> is for 'disk partition mode'.there is no info regarding diskmode and slab mode

View 1 Replies View Related

Ubuntu :: Dot At The End Of System Modes?

Jun 4, 2010

Simple question (I hope). What does the dot at the end mean?drwxrwxr-x

View 3 Replies View Related

Ubuntu :: 10.04 - Only Have 2 Display Modes

Jun 24, 2010

Just installed Ubuntu 10.04 via Wubi on my laptop. It's looking good so far but to cut to the chase, I only have 2 display modes. This is 640x480 and 800x600. Is there anyway to 'trick' the system into getting a 1200x800 display mode as I have found that graphic drivers for the SIS Mirage 3 are non-existent.

View 6 Replies View Related

Ubuntu Networking :: FTP - Incomplete File When Not Binary Mode

Oct 16, 2010

I have setup FTP Server on my Windows machine with Filezilla server. Now, if I try to copy files from it using Ubuntu 10.04, Lucid, it downloads incomplete files if I don't switch to binary mode.

Is there some config issue from Ubuntu client or something needs to be changed from Windows Client.

View 4 Replies View Related

Fedora :: Runlevel 3 Video Modes

May 30, 2010

I am running a mainframe emulator on an old HP server in runlevel 3 text only. I have googled a bit but found no information on controlling the text video mode in runlevel 3. When I boot my Fedora 12 system chooses the highest resolution it can meaning my c3270 terminal emulator program (80x25) is in tiny font occupying a fraction of the upper left corner of the screen. I have looked everywhere but can find no mode setting commands for runlevel 3 text only.

View 7 Replies View Related

Red Hat / Fedora :: Getting File Or Dir Modes Before Chmod?

Jan 28, 2011

Does anyone know of a trick or tool that will show me ther directory?Example:neatcmd.bash /dir1/dir2/file1 /dir1/dir2/file1 permissions are 0640Or does anyone know of a tool or command what would convert, for example rwxr-x--- to 0750 suppose it could be scripted, but I was trying to make sure I did not have to re-invent the wheel if something was already out there.

View 3 Replies View Related

Software :: Xrandr Not Finding Modes?

Jul 14, 2010

I'm on Debian Squeeze, my PC has a Radeon HD4770 card. I honestly don't know if it's currently running on OS or proprietary fglrx drivers; I installed fglrx, but the control panel app insists the driver isn't loaded. I'm following these instructions to try to get my screen running at 1280x960x85. It's currently at 1280x1024x85, but it's an old CRT that, for some reason, works fine at 1280x960 but gets unfocused at 1280x1024. I'm following the step "adding undetected resolutions", and here's the result:


fallingwater@longcat:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
DVI-1 disconnected (normal left inverted right x axis y axis)


View 2 Replies View Related

Networking :: Socat - Sending Binary Data From Client To Server

Apr 15, 2010

I am trying to redirect connection to port 8980 to execute a telnet command to a local machine
by issuing the following command :
In Server 1 :
socat TCP-LISTEN:8980,fork EXEC:/myscript,reuseaddr

My script contains
telnet //local Server 2

I am sending Binary data from the client to Server 2 via Server 1. So it happens that I have some characters in Hex translated to special characters in ASCII like open brackets or Commas etc.. and that closed the socket between the two machines.

View 2 Replies View Related

Debian Multimedia :: Xrandr -s Modes Not Found?

Dec 22, 2010

I can run xrandr and I get the various modes thatwill supposedly work with my monitor.Then, I run xrandr -s 800x600 and the command tells me thathat mode is unavailable, even though it claims that it is in xrandr -s.What on earth does that mean, then?

View 4 Replies View Related

Fedora Installation :: Xserver Set To Display Modes Above 800*600

Dec 27, 2009

I use 3 computers attached to a kvm switch (not the hypervisor) and this works fine w/ windows xp and ubuntu 9.04 and earlier. However I am having a problem w/ Fedora 12. It seems that it cannot read the EDID block, so I am not able to set the display above 800x600. There is no xorg.conf file, so I had one generated by Xorg -configure :1. I also tried using the modeline instructions, but the Xserver would not start until I removed modeline. I have tried adding to Section "Screen"

Subsection "Display"
Modes "1280x800"

but it seems that this is ignored. how can I get the Xserver to set display modes above 800x600 when it cannot read EDID (thru a kvm switch) and it seems to be ignoring settings in xorg.conf?

View 6 Replies View Related

Ubuntu :: Switch Between Boot Splash Modes?

Nov 2, 2010

I'm using Ubuntu 10.10. How can I switch between text-based splash and GUI splash? My computer is currently showing a purple text based splash screen when booting Ubuntu. How can I switch it to GUI mode?

View 4 Replies View Related

General :: Enable 2 Flyspell Modes In .emacs?

Mar 7, 2011

emacs has these 2 mode for spell checking.

M-x flyspell-mode
Enable Flyspell mode, which highlights all misspelled words.
M-x flyspell-prog-mode


View 1 Replies View Related

General :: Sony PSP File Transfer Inaccurate Transfer Progress?

Jan 1, 2010

Having a bit of a issue with Debian Squeeze and transferring files to the Sony PSP..Hook up PSP to USB port and Debian mounts it..I go to drag a 125 meg mp4 to video folder..Copy windows takes about 10 seconds to transfer it..Exit USB mode and there is no video there. Go back into USB mode and look at video folder on the PSP memory stick and there is no video..It vanished. From another after copy progress closed I right clicked PSP and unmounted it..

It error-ed saying device was busy and could not unmount..Looking at light on PSP i see memory stick is still being written to..i wait for light to stop flashing..About a minute or so..Then am able to unmount it..Go to PSP video and theres the video ready to be watched. Debian isnt accurately showing the copy progress...Its showing complete when it isnt..I have to watch the light on PSP to know when it is truly finished.

View 3 Replies View Related

Ubuntu :: Change Cpu Modes And Battery Charging Percentage?

Apr 4, 2010

Is there a way I can specify at what percentage i can make my battery to start charging? I guess the default it 95% which ends up wasting a lot of battery cycles.And my second question being can i have different modes like power saver,performance?

View 3 Replies View Related

Fedora Security :: What Keeps Changing Desktop Folders' Modes To 0777?

Jun 7, 2009

Something keeps changing the mode of ~/Desktop, ~/Music, ~/Pictures and ~/Videos to 0777! Anyone know what's doing this, why it's doing it, and how I can stop it?

View 8 Replies View Related

General :: Slight Delay When Switching Modes In Vim Using Tmux Or Screen

Mar 2, 2011

Switching to and from insert mode in Vim is no longer instantaneous since I use tmux. After pressing Esc in insert mode, it takes a noticeable amount of time to actually get out of insert mode. After pressing Esc and any other key afterwards the switch is immediate, and the command for the key pressed after Esc is executed. Any idea what might cause this?The Vim configuration is not the problem as the delay does not occur when I run Vim outside tmux, so this is probably related to tmux somehow. I use gnome-terminal btw.

Also worth noting, it seems I can not define key bindings in tmux for Esc, my plan was to bind Esc to:bind Escape send-keys.Alas, it seems binding anything to Esc for tmux does not work. The same problem occurs in screen as well.

View 2 Replies View Related

General :: X-Window Modeline For High Resolution Modes On NEC LCD 22WV Monitor?

Apr 30, 2010

What should look like X Window System (X.Org) modeline to be put in xorg.conf, for high resolution (incuding recommended 1680x1050 @ 50Hz resolution) for 22" NEC LCD 22WV monitor? X.Org autodetect correctly only 800x600 and lower resolution SVGA modes,unfortunately.1,2

How can I generate proper "Modeline" line for xorg.conf? Is information included in NEC_Datasheet_LCD22WV-english.pdf enough (found on NEC LCD 22WV product info page)? What tools there are available to generate proper modeline for a LCD monitor for Linux? MS Windows (MS Windows XP Home) correctly detects and use 1680x1050 resolution; can I somehow get modeline information from MS Windows?


1) It might be hardware problem with the monitor itself, as the same LiveCD Linux distribution that couldn't autodetect recommended 1680x1050 mode for NEC LCD 22WV monitor, correctly autodetects recommended 1440x900 mode for slightly smaller NEC LCD 19WV monitor from the same family, by the same producent.

2) Or it might be problem with graphics card (NVIDIA Riva TNT2 M64) not supporting such resolution, or with graphics driver not supporting such resolution.

View 2 Replies View Related

Slackware :: No Transfer Process Shown During USB Transfer?

Jan 20, 2010

using Slackware 13.0, and whenever i trasfer my files to USB, like copy or cut and paste, it will show as if file transfered in an instant,like click paste and poof.the whole 1 gig file transferred in one second, and it wont show dialog box of transfer process, and then i have to predict some minutes and wait (till the transfer actually finishes, i have to usually see my USB's transfer indicator light), if i plug out before or my prediction goes wrong, i end up with corrupted files. This aint related to window manager, as same is case for KDE and XFCE tried thunar, konqueror, midnight commander, all of em resulted with same problem.

View 6 Replies View Related

Networking :: Transfer Files To My Pc?

Feb 13, 2011

I need to transfer some a large amount of file from my Linux lap-top to my desktop Windows machine. Can I connect the two computers through a simple crossover cable and simply navigate into the Windows machine and move to files manually or if not, what's the best way to do this? I don't want to burn a bunch of disks.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved