Transfering Files from server to server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

We maintain a seperate server for files which are uploaded by the
user(Clients).
We run our site in Production server,we need to Keep our uploaded files in
our file server.

we use asp.net with c# to create the WebServices for transfer the files.But
no effecient solutions found.we had problem when passing uploaded file to web
services (which is running our FileServer),it came with serialization error.

We create one WebService From our fileServer,And add this WebService into
our application by using "Add WebReference".It is working fine when passing
the primay datatypes.But,it is not serialized ,when pass the uploaded files.

can any give the solution,it would be helpful for me.,

Thanking You.
 
For transferring files over webservices, maybe you need to look into SwA or
DIME.
http://weblogs.asp.net/cweyer/archive/2004/09/08/227258.aspx

on the other hand it could be a simpler solution. if the fileserver is
accessible from the "production server" (I guess the app server) , then why
not use CIFS to get there? Just have the C# (webservice) app open a file
on \\fileserver\share and write to it.
?

but maybe I have misunderstood.

-D
 
Hi Dino,

Thanks for Your Message.,I think using SwA or DIME is going to be
complicated one.B'cos we are using Http Protocol to access our site.so,it
seems complicated while we use other protocols.

is there any other simpler solution for that?
for storing files from other server in asp.net?

i would appericiate your help.

thank you.


regards,
Murugavel.v
 
Hi,

If you pass the file as a byte array to the web service and then save it
back it should work.

Regards
Niloday
 
Hi Niloday,

Thanks for your help.
The Byte Array technique is working fine.

is there any Limit for file size to upload?

I have a problem when uploading more than 40 MB files?

Thanks.
 
Back
Top