edtftpnet-1.1.6

  • Thread starter Thread starter Giuseppe Dini
  • Start date Start date
G

Giuseppe Dini

I'm new to the asp.net world.
I need to create a web application that allows users to download/upload
files via ftp, using their browser.
I'm trying to use "edtftpnet-1.1.6" and it has two methods for
downloading/uploading files:
Put(String localPath, String remoteFile)
Get(String localPath, String remoteFile)
What I would like to know now is: am I allowed to download/upload files via
my asp.net page?
The code I posted seems like to work on the server itself just moving files
on them, but I want to move files from my computer to the server and
viceversa.


Giuseppe
 
Hi Giuseppe:

It sounds like you'll want to take a look at the HtmlInputFile
control.

A library like edtftpnet will only help you FTP files from the client
machine if you can execute the code on the client machine.
 
"Scott Allen" ha scritto nel messaggio
Hi Giuseppe:

It sounds like you'll want to take a look at the HtmlInputFile
control.

A library like edtftpnet will only help you FTP files from the client
machine if you can execute the code on the client machine.

So if I have a web page the only way to upload/download file is via http.
The problem is with the size of the files: about 2 Gb.
I don't think a HtmlInputFile would be the best solution, because maybe ftp
is better. :(
 
Yes, that's true. I wouldn't recommend HtmlInputFile for a 2GB file,
but to get files FTP'ed from the client you'll need to execute code on
the client's computer. Running an FTP library on the server only means
the server side ASP.NET code can FTP to and from the server.
 
"Scott Allen" ha scritto nel messaggio
Yes, that's true. I wouldn't recommend HtmlInputFile for a 2GB file,
but to get files FTP'ed from the client you'll need to execute code on
the client's computer. Running an FTP library on the server only means
the server side ASP.NET code can FTP to and from the server.


what do you think could be the major problems with uploading files with an
HtmlInputFile?
Or downloading through a link on an asp.net web page?
Do you think it would be possible anyway?
 

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

Back
Top