upload file to web-browser

R

reidarT

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

Guest

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.
 
R

reidarT

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
 
C

Cor Ligthert [MVP]

Reidar,

This is a piece of cake in frontpage, aspnet, asp, php etc.

It needs however something special on the serverside to make it possible
which is provided with those uploads in the "input = file runat server" (in
the case of ASPNET)

With clean HTML it is not possible.
(And than not to an FTP server but to an IIS server).

Therefore what is the environment you are busy in.

(You never can upload a file from a client unatended to a server, that is
called hacking and prevented by all browsers).

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

FileUpload 1
Uploading files from webapplication to production-server. 2
Upload/Download files in Chunks on FTP 2
ftp to ftp 2
FTP download 4
ftp file transfer 1
Upload file via FTP 6
Upload files to FTP server 3

Top