Re: upload file to web-browser

Tech-Archive recommends: Speed Up your PC by fixing your registry



In a Windows form I use

My.Computer.Network.UploadFile( _
"File to upload", _
"ftp://ftp-address"; & _
"/path/filename".mdb", _
"ftp-username", "ftp-password", True, 5000)

to do this uplaod.
How can I do the same in an aspx-page?
reidarT
"Spam Catcher" <spamhoneypot@xxxxxxxxxx> skrev i melding
news:Xns98851D16AC69Ausenethoneypotrogers@xxxxxxxxxxxx
"reidarT" <reidar@xxxxxxxx> wrote in news:edHMKz5DHHA.3396
@TK2MSFTNGP02.phx.gbl:

Is there an example how to upload a file from a clients machine to an
ftp-server
from a web-application? (No ftp-software!)


I suggest you use a HTTP Upload instead (to the web server) and then let
the web server handle the FTP connection to the destination server. This
is
a more secure and reliable method.



.



Relevant Pages

  • Re: HttpWebRequest file upload problem
    ... Here is the first on a remote web server. ... Here is the second connection which is just to another folder on my ... File upload failed: System.UnauthorizedAccessException: Access to the path ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Uploading Large File to SQL
    ... However now when I'm upload a 500+mb file I run out of memory on the web server. ... private string SaveFileToSQL ... SqlDataAdapter myDataAdapter = new SqlDataAdapter ...
    (microsoft.public.sqlserver.programming)
  • Re: Uploading Large File to SQL
    ... However now when I'm upload a 500+mb file I run out of memory on the web server. ... private string SaveFileToSQL ... SqlDataAdapter myDataAdapter = new SqlDataAdapter ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to upload a file to my web server
    ... If not have em set you up a write enabled directory, then Google for upload scripts. ... my connection from my FrontPage client to my own company's web server is through a cell phone modem. ... What I want to do is to transfer from a client company computer across their own internet connections to my own company's web server. ...
    (microsoft.public.frontpage.programming)
  • Re: .exe uplpoads
    ... it is impossible for anything on the Web Server to determine ... whether it is an upload or not, thus it is not possible to stop web editors ... allowing upload of .EXE is no biggie. ... >You can use URLScan to disallow .EXE from being accepted ...
    (microsoft.public.inetserver.iis)