FTP a file:Get return code if ftp is unsucessful.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
Samir
Posts: 384
Joined: 16 Jul 2013 12:00
Location: HSV
Contact:

Re: FTP a file:Get return code if ftp is unsucessful.

#46 Post by Samir » 11 Feb 2015 17:48

What happens when you manually execute the commands by typing ftp and enter? I think there's an extra prompt or something on the ftp server that's messing up the order of commands.

Squashman
Expert
Posts: 4479
Joined: 23 Dec 2011 13:59

Re: FTP a file:Get return code if ftp is unsucessful.

#47 Post by Squashman » 11 Feb 2015 18:49

Samir wrote:What happens when you manually execute the commands by typing ftp and enter? I think there's an extra prompt or something on the ftp server that's messing up the order of commands.

yeah, I kind of inferred that about 8 days ago.

Samir
Posts: 384
Joined: 16 Jul 2013 12:00
Location: HSV
Contact:

Re: FTP a file:Get return code if ftp is unsucessful.

#48 Post by Samir » 11 Feb 2015 22:17

Squashman wrote:
Samir wrote:What happens when you manually execute the commands by typing ftp and enter? I think there's an extra prompt or something on the ftp server that's messing up the order of commands.

yeah, I kind of inferred that about 8 days ago.
I'm surprised this batch wasn't developed by first manually entering everything and making sure it works, and then moving it to a batch. Seems like the development is going the other way around. :?

Post Reply