Re: ftp file transfer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am going to guess that you have done a fairly common thing: you have
assumed that a user can send a file as easy as they send a filename to a web
site. This is a very common mistake.

If you have allowed the user to browse for a file name, or to type one in,
that's cool. However, you also have to allow them to upload it to your web
server from your client, and not try to have the ASP.Net app just "open" the
file. Of course this works just fine if you are running the app on your
machine, because the file is on your machine, but it won't work on a web
server.

I'm guessing at the nature of your problem from the description you gave.
If I guessed wrong, and you'd like further help, please post code to
illustrate the problem.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"sguernieri" <sguernieri@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E56F74A6-51F4-4D66-89E2-A936D91048F8@xxxxxxxxxxxxxxxx
>I have developed a vb web application to allow client copy files to an ftp
> remote site.
> The problem is ttha when i debug my application all seems to work fine,
> but
> when i deploy it on the web server, after i have chosen the file i want to
> copy, the application throws an execptio "unable to find the file..". its
> my
> opinion it depends from the user of the browser.
> Can someone help me
> Thanks
> Steve


.



Relevant Pages

  • Re: From address Name Resolution problem
    ... > do you have Exchange running or another SMTP server? ... > I do not answer questions on behalf of my employer. ... >> authentication and thats the reason why I am using the method as '2'. ... >>> programmer helping programmers. ...
    (microsoft.public.dotnet.general)
  • Re: mail failed
    ... I do not answer questions on behalf of my employer. ... programmer helping programmers. ... address,but it failed with messages such as "invalid parameter,the server ...
    (microsoft.public.dotnet.framework)
  • Re: Assistance with design issue.
    ... > darabase on a remote server. ... I would use MSMQ. ... I do not answer questions on behalf of my employer. ... programmer helping programmers. ...
    (microsoft.public.dotnet.general)
  • Re: WebServices - Problem to run remote.
    ... Opinions expressed in this forum are my own, and not representative of my employer. ... I'm just a programmer helping programmers. ... > I did a webservice, and this webservice work normally in my localhost, but> when I upload it in remote server it don't work. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: KB917537 Failing
    ... four days after the patch released. ... mature server OS, an enterprise-class messaging system, and automated ... if you hit the "Restart" button ... here as I had assumed this would be a common problem.. ...
    (microsoft.public.windows.server.sbs)