------------------------------------------------ On Fri, 13 Jun 2003 21:18:32 +0530, Aman Thind <[EMAIL PROTECTED]> wrote:
> Hi > > My ftp script sometimes stops working after throwing an ABOR message :( > > I invoke the ftp as : > > $ftp->append(\*FH,$remotefile)||Reconnect(); > > But when ABOR comes, reconnect is not called. > However if i take my machine out of the network while doing the ftp, it > invokes Reconnect() as it should. > > Any remedies please... > > b.t.w. the msg that comes is ABOR and not ABORT incase you're thinking i'm > bad at spelling... :) > >From what the RFC says this is generally sent by the client to tell the server to >stop doing whatever it is that it is doing, are you sure this is coming from the >server side or is it being generated in your script (or Net::FTP) somehow? Presumably >the ABOR is working, which is then replying with a successful message that is >preventing the reconnect. You can set a Debug flag in your Net::FTP constructor that will print verbose information that may help fix the issue. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]