Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Unix ISBN: 0-7645-7994-0
This is the forum to discuss the Wrox book Beginning Unix by Paul Love, Joe Merlino, Craig Zimmerman, Jeremy C. Reed, Paul Weinstein; ISBN: 9780764579943
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Unix ISBN: 0-7645-7994-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 17th, 2006, 04:47 AM
Authorized User
Join Date: Jun 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default raw ftp command

i want to execute the raw ftp command from local command console to remote ftp server(telnet), 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
230-Last login: Thu Feb 16 03:17:49 EST 2006 on /dev/pts/2 from
230 User test649 logged in.
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?


  #2 (permalink)  
Old May 18th, 2006, 09:18 AM
Registered User
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi there!

I had the same problem today. Its simply that the STOR command doesnt store anything at all. It only creates a file entry with length 0. So one has to use the Winsock SEND to fill it up using the a second DATA socket (which must be connected like the Control socket before). Well: I have it running, but the performance is poor compared to the commandline solution. Ask me for more details if you are still working on the problem.



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I send raw data directly to a serial port peterasimpson VB.NET 0 January 27th, 2008 09:42 PM
Command text was not set for the command object Sheraz Khan Classic ASP Databases 2 May 29th, 2007 12:57 AM
Raw count problems zukit Classic ASP Databases 2 April 12th, 2005 06:03 AM
How to display Oracle raw(10) in Access 97 lgharis Access 0 February 27th, 2004 12:25 PM

All times are GMT -4. The time now is 12:28 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.