FTP Upload

Greg.NET

Active member
Joined
Jun 4, 2007
Messages
27
Programming Experience
1-3
from a web page the user selects their file from a simple file input control and then I need to upload that file to an ftp server.

My question is must I save this file to the web server before I upload it to the ftp server? Or is there another way? Also, can you recommend me any good ftp classes that will make this as painless as possible? This is all kind of new to me.

Thanks for any help!
 
You don't have to actually save it to the web server first but you will encounter some permission issues if you try to save it across the network (via UNC paths). Rather than give the IIS worker process network permissions we created a windows service to move the files once they were stored on the web server. Messy, but it's more secure.

The ftp question is beyond my scope of knowledge though.
 
Back
Top