Re: ftp file transfer
- From: "Nick Malik [Microsoft]" <nickmalik@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Jan 2006 01:42:46 -0800
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
.
- Prev by Date: Re: InstallUtil Security Error
- Next by Date: Xml and propertygrid Attributes
- Previous by thread: [OT] how to delete 'hardlink'
- Next by thread: Re: ftp file transfer
- Index(es):
Relevant Pages
|