Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Problems with ftp on Windows Server 2012

$
0
0

Hi all,

We just setup a new server running 2012.  I ran into a problem while trying to move over/recreate some of our exisiting jobs that run on the task scheduler on a Windows 2003 Server box.

One job in particular, logs into another local machine, deletes a file and copies a replacement file - this has worked for years.  When I tried to get it to work on the 2012 machine, it would hang at the copy statement.  I am thinking it has something to do with the firewall since I found this error in the server log and the times are about the same times I kept trying this:

Inbound notifications are not enabled
Application Path:    C:\windows\system32\ftp.exe

I have no idea what to change.  We just need the script below to log into the machine, delete the existing file, then copy the new version of the file.  The size of the file I am testing with is 2k, so the size is not an issue.  Also, I tried this in a command line and it froze at the copy statement - so that is how I realized where the problem was.  The bat file resides in the same folder on the server as the file to be copied.

When running this in a dos prompt, I get a return code of "425 Not able to open data connection." after a long period.

Any and all help is appreciated.

The entire bat file contains:

open 10.10.10.47
userid
password
cd /mpl
del boatemp.txt
put boatemp.txt
quit



Viewing all articles
Browse latest Browse all 12072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>