Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SBS 2003 Blocks outbound FTP Aceess

Status
Not open for further replies.

monkey64

Technical User
Apr 27, 2008
69
GB
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.

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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top