473,378 Members | 1,522 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

my.computer.network.upload proxy problems

In VB2005 (.NET 2.0) when I do:

my.computer.network.uploadfile

I get the error "The requested FTP command is not supported when using an
HTTP Proxy"

Is there any way round this? Does this command work in .NET 3.0?

-Jerry
Aug 12 '08 #1
2 3653
Hi Jerry,

I had similar issues in one of my apps. My ISP has a sort of transparent
proxy to compress data, but it doesn't work over https and my app was trying
to download via this protocol. All sorts of weird and wonderful errors
started cropping up.

The short story? Don't use My.Computer.Network.Upload/Download for anything
unless you know 100% that your users have a very stable, reliable, typical
internet configuration.

I ended up using HttpWebRequest with Try/Catch blocks to see if it worked
with the default proxy config, and if not then to fall back to using it
without any proxy. It was the only way I could get it to work.

Hope that helps,
Alex
"Jerry Spence1" <12*@dfgh.comwrote in message
news:s7*********************@posted.plusnet...
In VB2005 (.NET 2.0) when I do:

my.computer.network.uploadfile

I get the error "The requested FTP command is not supported when using an
HTTP Proxy"

Is there any way round this? Does this command work in .NET 3.0?

-Jerry

Aug 13 '08 #2
Thanks for that Alex. It seems strange that Microsoft should produce such a
useful command when it has such limitations. All the FTP implementations I
have tried seem to be very fragile at one site or another. Did your
HttpWebRequest work?

By the way, how do you find out what your proxy server is?

-Jerry

"Alex Clark" <qu****@noemail.noemailwrote in message
news:O7****************@TK2MSFTNGP05.phx.gbl...
Hi Jerry,

I had similar issues in one of my apps. My ISP has a sort of transparent
proxy to compress data, but it doesn't work over https and my app was
trying to download via this protocol. All sorts of weird and wonderful
errors started cropping up.

The short story? Don't use My.Computer.Network.Upload/Download for
anything unless you know 100% that your users have a very stable,
reliable, typical internet configuration.

I ended up using HttpWebRequest with Try/Catch blocks to see if it worked
with the default proxy config, and if not then to fall back to using it
without any proxy. It was the only way I could get it to work.

Hope that helps,
Alex
"Jerry Spence1" <12*@dfgh.comwrote in message
news:s7*********************@posted.plusnet...
>In VB2005 (.NET 2.0) when I do:

my.computer.network.uploadfile

I get the error "The requested FTP command is not supported when using an
HTTP Proxy"

Is there any way round this? Does this command work in .NET 3.0?

-Jerry


Aug 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: anton.vredegoor | last post by:
Here's my situation: I'm typing this in a public library on a computer with OS windows 2000 server. I can run Internet explorer, word, excel and powerpoint, that's it. Maybe java, but it seems...
0
by: Tonino | last post by:
Hi, I have been searching the groups for a way to upload a file using URLLIB (2) to a ftp site using a proxy server. I read the ftplib does not support proxy servers and I know that urllib does...
2
by: Tom Wells | last post by:
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet...
0
by: David | last post by:
I am having an issue with Visual Studio .net and consuming WEB services. When I attempt to write a program to consume the service, I get the message "The proxy settings on this computer are not...
0
by: Maroller | last post by:
I have a WiFi network comprising a Netgear router, a desktop and a laptop. An ASP web service is set up on the desktop IIS. But when I try to add a web reference to an ASP web application developed...
5
by: UJ | last post by:
I had already asked how to get the network settings on the machine and was told that I should use the WMI interface. I downloaded programs that will allow me to look at the stuff but I'm not sure...
2
by: Volki | last post by:
I am using file upload download aspx code on my IIS 6.0, FW 1.1. I am uploading the files properly. However I am having problems on downloading the files in this code. Most of the browers I do not...
8
by: Newcomsas | last post by:
Hello. I'm experiecing a problem with file uploads from ASP pages. On a Windows 2000 - IIS 5 server we're running an ASP Classic application that features an upload form for files of great...
6
by: JDeats | last post by:
I'm in a situation where it's difficult to get on-site and troubleshoot, so I'm looking for scenarios from those experienced on what might be causing this problem. I have a .NET 2.0 WinForms...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.