I wrote a vb.net 2008 program to upload a file to a web server. It works fine when executed manually, but has issues when scheduled on our Microsoft Small Business Server 2003.
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.
I tried all the usual things, such as permission levels on the server and everything is set to Full Control. I also changed the manifest to level="requireAdministrator". Obviously, this could be a server issue?
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?
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.
I tried all the usual things, such as permission levels on the server and everything is set to Full Control. I also changed the manifest to level="requireAdministrator". Obviously, this could be a server issue?
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?