D
deostroll
I have got a web proxy through which I am able to browse the internet.
However when I try to perform ftp uploads I get an
InvalidOperationException saying that FTP commands cannot be issued
over a HTTP proxy.
System.InvalidOperationException was unhandled
Message="The requested FTP command is not supported when using HTTP
proxy."
Source="System"
StackTrace:
at System.Net.FtpWebRequest.GetHttpWebRequest()
at System.Net.FtpWebRequest.GetRequestStream()
at rcvfileUploader.Program.Main(String[] args) in C:\Arun
\JobsUploader\rcvfileUploader\rcvfileUploader\Program.cs:line 23
at System.AppDomain._nExecuteAssembly(Assembly assembly, String
[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
However when I try to perform ftp uploads I get an
InvalidOperationException saying that FTP commands cannot be issued
over a HTTP proxy.
System.InvalidOperationException was unhandled
Message="The requested FTP command is not supported when using HTTP
proxy."
Source="System"
StackTrace:
at System.Net.FtpWebRequest.GetHttpWebRequest()
at System.Net.FtpWebRequest.GetRequestStream()
at rcvfileUploader.Program.Main(String[] args) in C:\Arun
\JobsUploader\rcvfileUploader\rcvfileUploader\Program.cs:line 23
at System.AppDomain._nExecuteAssembly(Assembly assembly, String
[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()