LinuxQuestions.org
Visit Jeremy's Blog.
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 12-02-2007, 03:27 AM   #1
john_smith
Member
 
Registered: Apr 2006
Posts: 42

Rep: Reputation: 15
Exclamation Transfer using ftp command


Hi
i have one file in NT ftp server
i wont to copy this file from the Win NT server to
my pc(Linux) but i issue this command from the terminal
ftp
ftp>open xx.xxx.xxx
ftp> mget <filename>
the file transfered but corrupted .

the NT ftp server not accept any ssh or telnet connection

Regards
 
Old 12-02-2007, 04:09 AM   #2
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Hi there,

Have you looked at the permission of the file. Make sure you have the right for the operation.

Cheers
 
Old 12-02-2007, 04:19 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Please can you post the full output of the ftp session (well, cut out any large MOTD output when you connect). Please post this in [code] tags to ease readability and preserve formatting. Also, please is the ls command on the file before getting the file.

The sort of output I'm looking for is this:
Code:
ftp> o ftp.funet.fi
Connected to ftp.funet.fi.
[boring stuff removed]
Name (ftp.funet.fi): anonymous
[boring stuff removed]
Password:
[boring stuff removed]
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls fav*
200 PORT command successful
150 Connecting to port 55611
-rwxr-xr-x    1 0        0            1078 Apr  7  2006 favicon.ico
226-Options: -l
226 1 matches total
ftp> get favicon.ico
local: favicon.ico remote: favicon.ico
200 PORT command successful
150 Connecting to port 37345
226-File successfully transferred
226 0.000 seconds (measured here), 2.71 Mbytes per second
1078 bytes received in 0.00 secs (323.5 kB/s)
ftp> quit
221-Goodbye. You uploaded 0 and downloaded 2 kbytes.
221 Logout.
 
Old 12-02-2007, 03:43 PM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Everything seems OK. Try other downloader (e.g. wget).
And are you sure the server contains undamaged file?
 
Old 12-02-2007, 10:32 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Is this a text or binary file. Line endings for text files are different on each, but can fixed with dos2unix or a similar tool.
 
Old 12-03-2007, 02:00 AM   #6
john_smith
Member
 
Registered: Apr 2006
Posts: 42

Original Poster
Rep: Reputation: 15
Hi

Please check these URL
http://allyoucanupload.webshots.com/...19374771531812

http://allyoucanupload.webshots.com/...96788817444983

Regards
 
Old 12-03-2007, 02:06 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Try setting binary mode : http://www.columbia.edu/acis/eds/dat...n/ftp_com.html
 
Old 12-03-2007, 03:03 AM   #8
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
Check NTLM permission.
 
  


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
FTP transfer getting slower. maxchock Linux - Networking 2 02-09-2007 10:34 PM
ftp file transfer sgarci Linux - General 3 09-19-2006 03:41 PM
speed up ftp transfer bikov_k Linux - Networking 1 01-28-2005 08:35 PM
FTP Data transfer yaliou Linux - Networking 4 06-28-2003 08:37 AM
ftp transfer rate Serena Linux - Networking 1 04-30-2002 01:20 PM


All times are GMT -5. The time now is 12:53 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