I wrote a vb.net 2008 program to upload a file to our web server.
The exe file works correctly when executed manually, but has issues when scheduled on the server.
It works for about a week, then just stops working. On the web server, I get a zero-byte file. I think this indicates that the data transfer is being blocked.
Debugging the procees also confirms this.
I tried all the usual things, such as permission levels on the server and everything is set to Full Control. I also changed the vb.net manifest file to level="requireAdministrator".
Here's the vb.net code I am using to upload.
What would I have to do to allow outbound FTP access to this .exe file?
The exe file works correctly when executed manually, but has issues when scheduled on the server.
It works for about a week, then just stops working. On the web server, I get a zero-byte file. I think this indicates that the data transfer is being blocked.
Debugging the procees also confirms this.
I tried all the usual things, such as permission levels on the server and everything is set to Full Control. I also changed the vb.net manifest file to level="requireAdministrator".
Here's the vb.net code I am using to upload.
Code:
My.Computer.Network.UploadFile("C:\update.php",
"ftp://ftp.myhosting.net/folder/htdocs/update.php", user, pass, True, 500)
What would I have to do to allow outbound FTP access to this .exe file?