Re: put command does not raise an error, but doesnt transfer the file either!

Giganews Newsgroups
Subject: Re: put command does not raise an error, but doesnt transfer the file either!
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Mon, 5 Apr 2004

"Dan" <dan.parker@_nospam_pro-bel.com> wrote in message
news:44D26DFCC697E240dan.parker@_nospam_pro-bel.com...

> With most FTP Servers this works fine, but with one particular
> the Allocate command raises an "Unknown Command" exception

Not all servers implement the ALLO command.

> and the Put command *seems* work fine (i.e no exception thrown)
> but does not actually do anything!

Since you are transferring files from one server to another, have you
considered having one server transfer the file *directly* to the other
server without going through your client at all?  The FTP protocol supports
that (and that is how programs like FlashXP work).  Basically, you put the
receiving server into PASV mode and grab the IP/Port that it is listening
on, and then send a PORT command to the sending server to tell it where to
send the next file during the next transfer.

Gambit

Replies

In response to

put command does not raise an error, but doesnt transfer the file either! posted by Dan on Thu, 1 Apr 2004