By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,602 Members | 1,457 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,602 IT Pros & Developers. It's quick & easy.

Transfering Files from server to server

P: n/a
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.
--
Murugavel,
Developer,
Softcrylic Solution Techonology Pvt Ltd.,
New York, NY

Jul 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
For transferring files over webservices, maybe you need to look into SwA or
DIME.
http://weblogs.asp.net/cweyer/archiv...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
"Murugavel" <Murugavelatsoftcrylicdotcom> wrote in message
news:27**********************************@microsof t.com...
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.
--
Murugavel,
Developer,
Softcrylic Solution Techonology Pvt Ltd.,
New York, NY

Jul 21 '05 #2

P: n/a
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


"Dino Chiesa [Microsoft]" wrote:
For transferring files over webservices, maybe you need to look into SwA or
DIME.
http://weblogs.asp.net/cweyer/archiv...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
"Murugavel" <Murugavelatsoftcrylicdotcom> wrote in message
news:27**********************************@microsof t.com...
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.
--
Murugavel,
Developer,
Softcrylic Solution Techonology Pvt Ltd.,
New York, NY


Jul 21 '05 #3

P: n/a
Hi,

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

Regards
Niloday

"Murugavel" <Murugavelatsoftcrylicdotcom> wrote in message
news:A4**********************************@microsof t.com...
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


"Dino Chiesa [Microsoft]" wrote:
For transferring files over webservices, maybe you need to look into SwA or DIME.
http://weblogs.asp.net/cweyer/archiv...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
"Murugavel" <Murugavelatsoftcrylicdotcom> wrote in message
news:27**********************************@microsof t.com...
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.
--
Murugavel,
Developer,
Softcrylic Solution Techonology Pvt Ltd.,
New York, NY


Jul 21 '05 #4

P: n/a
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.
"Niloday" wrote:
Hi,

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

Regards
Niloday

"Murugavel" <Murugavelatsoftcrylicdotcom> wrote in message
news:A4**********************************@microsof t.com...
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


"Dino Chiesa [Microsoft]" wrote:
For transferring files over webservices, maybe you need to look into SwA or DIME.
http://weblogs.asp.net/cweyer/archiv...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
"Murugavel" <Murugavelatsoftcrylicdotcom> wrote in message
news:27**********************************@microsof t.com...
> 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.
> --
> Murugavel,
> Developer,
> Softcrylic Solution Techonology Pvt Ltd.,
> New York, NY
>


Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.