WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

FTP Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

FTP 999 Operation Aborted


Question:

I've got a script which FTP text file from windows to Unix, at one location is failling with "999 Operation aborted", but at other locations in the same network and other networks is not. What's wrong and how can I fix it?
hSession = ftpOpen(share_target, name_target, pw_target, "", 1)
(5391) VALUE=> "999 Operation aborted"

Answer:

Are you able to manually connect to that FTP server using any other FTP applications?

User Reply:

Yes I can manually connect. I can also get three WinBatch FTP scripts to start, but after that it fails. We sometimes need to transfer multiple items in a day. System reboot everyday still has no effect on the 999 errors.

Answer:

Is your script explicitly closing the FTP session? Are you closing the session if the script errors? If not you might need to add ftpClose in a few places.

User Reply:

Problem found

Windows Firewall had been turn on and this caused the "999 Operation aborted"


Article ID:   W16898
File Created: 2007:07:03:14:26:46
Last Updated: 2007:07:03:14:26:46