The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 05:12 PM
how to? launch command with string of command line options TinCanFury Shell Programming and Scripting 5 04-28-2008 03:06 PM
inconsistent ls command display at the command prompt & running as a cron job rajranibl Linux 5 07-30-2007 05:26 AM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr HP-UX 1 10-16-2006 01:16 PM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr Shell Programming and Scripting 0 09-19-2006 06:44 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-05-2005
Registered User
 

Join Date: Apr 2005
Posts: 47
ftp command

Hi there!
I've used the ftp command to transfert datas between linux to unix box.
The answer of this command, was:
Code:
ftp -A -v n0dark
Connected to n0dark.
220 n0dark FTP server (Version 4.1 Thu Sep 12 23:46:23 CDT 2002) ready.
Name (n0dark:root): ftpn0darkusr
331 Password required for ftpn0darkusr.
Password:*******
230-Last unsuccessful login: Wed Jul 20 17:33:23 DFT 2005 on ftp from ::ffff:167.31.1.20
230-Last login: Fri Aug  5 09:34:00 DFT 2005 on ftp from ::ffff:167.31.1.16
230 User ftpn0darkusr logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ascii
200 Type set to A; form set to N.
ftp> put data01
local: data01 remote: data01
'500' EPRT | 1|167.31.1.16|43526|: command not understood
200 PORT command successful 
150 Opening data connection for data01.
100% |***********************************************************|  1087       5.63 MB/s    --:-- ETA
226 Transfer complete.
1087 bytes sent in 00:03 (0.35 KB/s)
ftp>
It strange because the transfert was complete and it brings two messages, the first is successful from PORT command and the second is an error from EPRT command!
So, It seems that linux use both EPSV/EPRT (rfc2428) and PORT/PASV (rfc959)! I'm using the return code of the command in a script and i don't want to receive the EPRT message...
Has anyone an idea why linux do that? It's possible to disable the EPSV/EPRT command?
Regards
Reply With Quote
Forum Sponsor
  #2  
Old 08-09-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Not sure if this will help or not but try setting your passive mode. Also, please post what ftp you are using (post the OS and version too).
Reply With Quote
  #3  
Old 08-16-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
epsv is for ipv6

Just type in
epsv

which will toggle epsv off/on

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0