![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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> 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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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).
|
|
#3
|
||||
|
||||
|
epsv is for ipv6
Just type in epsv which will toggle epsv off/on Cheers ZB |
||||
| Google The UNIX and Linux Forums |