dcsimg
raw ftp command
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zhebin_cong
Posted On:   Friday, February 17, 2006 03:34 AM

hello i want to execute the raw ftp command from local command console to remote ftp server, the message as following: user test649 331 Password required for test649. pass XwSpi13I 230-Last unsuccessful login: Sun Feb 5 04:10:12 EST 2006 on /dev/pts/2 from 9.186.23.101 230-Last login: Thu Feb 16 03:17:49 EST 2006 on /dev/pts/2 from 9.186.23.101 230 User test649 logged in. pasv 227 Entering Passive Mode (9,56,249,45,252,64) stor ver.txt but after the "stor ver.txt", the system hang on, it don't answer any command any more, who can help   More>>

hello


i want to execute the raw ftp command from local command console to remote ftp server, the message as following:





user test649

331 Password required for test649.

pass XwSpi13I

230-Last unsuccessful login: Sun Feb 5 04:10:12 EST 2006 on /dev/pts/2 from 9.186.23.101

230-Last login: Thu Feb 16 03:17:49 EST 2006 on /dev/pts/2 from 9.186.23.101

230 User test649 logged in.

pasv

227 Entering Passive Mode (9,56,249,45,252,64)

stor ver.txt




but after the "stor ver.txt", the system hang on, it don't answer any command any more, who can help me and tell me how i can send a file to ftp server by using raw frp command?


thanks

   <<Less

Re: raw ftp command

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, February 25, 2006 04:13 PM

Don't you need to open the 2nd socket? (ftp involves 2 socket connections, to 2 different ports, for control and data, not just one for both, right?)



And it's been years since I worked with ftp (back then it was all K&R C code, not even ANSI C yet) but I do know that "passive" mode means the 2nd (data) socket is opened backwards, compared to "normal" mode --- usually I think the server initiates the data socket connection to the client? but a firewall won't allow that, so "passive" mode means the server lets the client initiate the data socket instead?

Re: raw ftp command

Posted By:   ankush_purwar  
Posted On:   Friday, February 17, 2006 01:55 PM

How muc size of your txt file ?
Try to do the same with 1KB txt file and see the problem still persists.May be FTP server is not configured properly.
About | Sitemap | Contact