Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-17-2010, 11:24 PM   #1
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
FTP text file from Linux to Windows

I ftped a text file from Linux to Windows. I changed the mode to ASCII but it still transferred in BINARY mode. Why? Thanks.

ftp> ascii
---> TYPE A
200 Switching to ASCII mode.
ftp> get test2 \users\ellen\testops\test3.txt
---> PORT 192,168,0,5,234,69
200 PORT command successful. Consider using PASV.
---> RETR test2
150 Opening BINARY mode data connection for test2 (16 bytes).
226 File send OK.
ftp: 16 bytes received in 0.00Seconds 16000.00Kbytes/sec.
ftp> quit
Old 11-17-2010, 11:55 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Maybe the text file didn't have any newlines in it?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read a text file and ftp files using bash w/out leaving the ftp prompt dj_tyr Linux - Newbie 6 10-12-2009 07:46 PM
ftp_fget problems grabbing text data from ftp file on LINUX machine nuebelhor Red Hat 1 10-12-2009 05:15 AM
Linux Text File convert to Windows/Notepad Text File = Wrapped? backroger Linux - Software 4 01-18-2009 06:54 AM
reading linux text file in windows - problem madhugp Linux - General 2 01-11-2007 01:47 AM
need a perlscript to read from a text file and transfer files via ftp cccc Linux - Networking 2 02-21-2004 07:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration