IIS FTP Server - Data stream in stead of file in FTP

This is Interesting: Free IT Magazines  
Home > Archive > IIS FTP Server > December 2006 > Data stream in stead of file in FTP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Data stream in stead of file in FTP
dina.mrcool@gmail.com

2006-12-07, 1:41 am

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

Bernard Cheah [MVP]

2006-12-07, 7:31 am

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/


<dina.mrcool@gmail.com> wrote in message
news:1165466829.849010.309910@l12g2000cwl.googlegroups.com...
> 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
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com