i am attempting to use Rebex ftp using a shared virtual server, CloudSites from www.rackspace.com. This hosting strictly imposes medium trust restrictions.
when I run the app on my development PC which runs IIS locally -no problem.
Same code on the host I get the following error message.
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Is there something I can set or switch off to make it work.
Googling this, i see this is a medium trust
My application is an ASP.NET version 3.5 web based application rather than windows forms
Code which fails
Dim ftp As New Ftp()
ftp.Connect("ftp.ibexis.com", 21)