Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.7k views
in .NET FTP by
Hi,

Can the FTP librarybe used in an ASPX page or user control?

I work on a web site where our users need to upload multiple MP3 files at once and we want to try and implement something that works via our web sote rather than having people download an app. We also are expecting a lot of Mac OS users so obviously a .Net app or embedded ActiveX control won't work(?).

Speciifcally we want to be able to enable users to select multiple files hence using FTP upload rather than HTTP. They can already upload seperate files using SAFileUP but we want a way to allow the users to upload all their tracks at once.

Can edtFTP do anything like this? If not, can anyone suggest where I might start or what I might use to do soemthing like this... and soemthing that's cross platform compatible?

TIA...

Mike Christie

1 Answer

0 votes
by
Yes you can use a ftp client on your web server (in a net app), however not on the client page itself.
Keep in mind that when you are uploading large files from a web page, that you have to wait until the entire file is uploaded to the server, before you can do anything with it, even check its size. Also this file will be on the server memory, which if you are having a lot of large files uplaoded, may exceed your memory limit on server.
The way around this is to intercept the http request.begin event in a http module, and chunk the file to disk. Then you can also monitor the progress of the upload.
Why would this not work with apple OS, can they not display an .aspx page, which for a browser client is just plain html. You only need a net server to host it on.
You can upload multiple files at once.
It is a lot of work writing the code to do all of this, and the easiest solution may be to use one of thethird party solutions.

Categories

...