LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-17-2010, 10:24 PM   #1
eulrich
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, 10:55 PM   #2
paulsm4
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?
 
  


Reply


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 06:46 PM
ftp_fget problems grabbing text data from ftp file on LINUX machine nuebelhor Red Hat 1 10-12-2009 04:15 AM
Linux Text File convert to Windows/Notepad Text File = Wrapped? backroger Linux - Software 4 01-18-2009 05:54 AM
reading linux text file in windows - problem madhugp Linux - General 2 01-11-2007 12:47 AM
need a perlscript to read from a text file and transfer files via ftp cccc Linux - Networking 2 02-21-2004 06:18 PM


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

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