all groups > iis ftp > december 2006 >
You're in the

iis ftp

group:

Data stream in stead of file in FTP


Data stream in stead of file in FTP dina.mrcool NO[at]SPAM gmail.com
12/6/2006 8:47:09 PM
iis ftp:
Hi Folks,

I'm just curious if it's possible to send a byte stream or a string
to a remote machine through FTP.

My actual requirement is this. I've a .NET (1.1) web page where I allow
the user to upload a file (I've used HTTP upload for this). Then this
file has to be transferred to a remote UNIX machine asynchronously, so
that the user need not wait for the FTP to complete.

Now for the HTTP upload to work, we need the ASPNET user to have write
access to the webservers' (it is a web farm implementation) file
system. Now I've been informed that ASPNET cannot be given write access
to the webservers' file system as it is against the company's security
policy. So, I need to some how send the file directly from the client
(Windows) machine to the remote (UNIX) machine without saving it on the
webserver.

I thought of getting the byte stream from the uploaded file and sending
it as the input to the FTP operation. Any suggestions on how this could
be done, or any alternative approaches would be really helpful.

Thanks in advance!!!

Thanks n Regards,
Dinesh
Re: Data stream in stead of file in FTP Bernard Cheah [MVP]
12/7/2006 6:08:40 PM
Better post this to asp.net forums.
If use of aspnet not allowed, try custom user for the application and
control the NTFS permissios properly.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button