Transfering Files from server to server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Murugavel

    #1

    Transfering Files from server to server

    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".I t is working fine when passing
    the primay datatypes.But,i t 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

  • Dino Chiesa [Microsoft]

    #2
    Re: Transfering Files from server to server

    For transferring files over webservices, maybe you need to look into SwA or
    DIME.


    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\sh are and write to it.
    ?

    but maybe I have misunderstood.

    -D


    "Murugavel" <Murugavelatsof tcrylicdotcom> wrote in message
    news:277FE927-26C8-4D6A-8A8C-5C5AF99379FC@mi crosoft.com...[color=blue]
    > 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".I t is working fine when
    > passing
    > the primay datatypes.But,i t 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
    >[/color]


    Comment

    • Murugavel

      #3
      Re: Transfering Files from server to server

      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:
      [color=blue]
      > 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\sh are and write to it.
      > ?
      >
      > but maybe I have misunderstood.
      >
      > -D
      >
      >
      > "Murugavel" <Murugavelatsof tcrylicdotcom> wrote in message
      > news:277FE927-26C8-4D6A-8A8C-5C5AF99379FC@mi crosoft.com...[color=green]
      > > 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".I t is working fine when
      > > passing
      > > the primay datatypes.But,i t 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
      > >[/color]
      >
      >
      >[/color]

      Comment

      • Niloday

        #4
        Re: Transfering Files from server to server

        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" <Murugavelatsof tcrylicdotcom> wrote in message
        news:A47B2C3C-D596-4886-9B73-304D116DF0B0@mi crosoft.com...[color=blue]
        > 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:
        >[color=green]
        > > For transferring files over webservices, maybe you need to look into SwA[/color][/color]
        or[color=blue][color=green]
        > > 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[/color][/color]
        why[color=blue][color=green]
        > > not use CIFS to get there? Just have the C# (webservice) app open a[/color][/color]
        file[color=blue][color=green]
        > > on \\fileserver\sh are and write to it.
        > > ?
        > >
        > > but maybe I have misunderstood.
        > >
        > > -D
        > >
        > >
        > > "Murugavel" <Murugavelatsof tcrylicdotcom> wrote in message
        > > news:277FE927-26C8-4D6A-8A8C-5C5AF99379FC@mi crosoft.com...[color=darkred]
        > > > 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[/color][/color][/color]
        files in[color=blue][color=green][color=darkred]
        > > > 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[/color][/color][/color]
        to[color=blue][color=green][color=darkred]
        > > > web
        > > > services (which is running our FileServer),it came with serialization
        > > > error.
        > > >
        > > > We create one WebService From our fileServer,And add this WebService[/color][/color][/color]
        into[color=blue][color=green][color=darkred]
        > > > our application by using "Add WebReference".I t is working fine when
        > > > passing
        > > > the primay datatypes.But,i t 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
        > > >[/color]
        > >
        > >
        > >[/color][/color]


        Comment

        • Murugavel

          #5
          Re: Transfering Files from server to server

          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:
          [color=blue]
          > 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" <Murugavelatsof tcrylicdotcom> wrote in message
          > news:A47B2C3C-D596-4886-9B73-304D116DF0B0@mi crosoft.com...[color=green]
          > > 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:
          > >[color=darkred]
          > > > For transferring files over webservices, maybe you need to look into SwA[/color][/color]
          > or[color=green][color=darkred]
          > > > 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[/color][/color]
          > why[color=green][color=darkred]
          > > > not use CIFS to get there? Just have the C# (webservice) app open a[/color][/color]
          > file[color=green][color=darkred]
          > > > on \\fileserver\sh are and write to it.
          > > > ?
          > > >
          > > > but maybe I have misunderstood.
          > > >
          > > > -D
          > > >
          > > >
          > > > "Murugavel" <Murugavelatsof tcrylicdotcom> wrote in message
          > > > news:277FE927-26C8-4D6A-8A8C-5C5AF99379FC@mi crosoft.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[/color][/color]
          > files in[color=green][color=darkred]
          > > > > 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[/color][/color]
          > to[color=green][color=darkred]
          > > > > web
          > > > > services (which is running our FileServer),it came with serialization
          > > > > error.
          > > > >
          > > > > We create one WebService From our fileServer,And add this WebService[/color][/color]
          > into[color=green][color=darkred]
          > > > > our application by using "Add WebReference".I t is working fine when
          > > > > passing
          > > > > the primay datatypes.But,i t 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
          > > > >
          > > >
          > > >
          > > >[/color][/color]
          >
          >
          >[/color]

          Comment

          Working...