How to upload a file to 2 FTP sites without an upload component for company

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

    How to upload a file to 2 FTP sites without an upload component for company

    Hi All

    I can't get round this because it's a local government thing, but I've done
    a CMS for a school (in ASP classic) that allows them to upload gifs, jpgs,
    pdfs and docs to their site for the usual CMS stuff.

    Works fine on my host as I use ASPupload and I have one FTP location for my
    data, but I've now found out that I've got to put the site on the local
    government's servers and they only provide the following setup:

    1) No ASP components such as ASPupload. They say I can do it in ASP.net as
    standard, but they can't give me any example code on how to do this!!! Any
    ideas bearing in mind that I upload the file and then update an SQL DB with
    the file info?

    2) They have 2 FTP locations for 1 site (no mirroring) so a user normally
    uploads the same content to 2 locations. This is no good for me as it's
    50/50 as to whether the user uploads the file via my CMS to FTP site 1 or 2
    and then 50/50 as to whether the visitor sees the content from FTP site 1 or
    2. I cannot get them to alter this setup, even though I think it is crap,
    so do you know of a way where I can upload the file to these 2 locations
    simultaneously? ??

    Thanks



  • Adrienne Boswell

    #2
    Re: How to upload a file to 2 FTP sites without an upload component for company

    Gazing into my crystal ball I observed "Laphan" <please@dont.sp am.com>
    writing in news:1dOdnXPy2a kR3BbVnZ2dnUVZ8 sXinZ2d@posted. metronet:
    Hi All
    >
    I can't get round this because it's a local government thing, but I've
    done a CMS for a school (in ASP classic) that allows them to upload
    gifs, jpgs, pdfs and docs to their site for the usual CMS stuff.
    >
    Works fine on my host as I use ASPupload and I have one FTP location
    for my data, but I've now found out that I've got to put the site on
    the local government's servers and they only provide the following
    setup:
    >
    1) No ASP components such as ASPupload. They say I can do it in
    ASP.net as standard, but they can't give me any example code on how to
    do this!!! Any ideas bearing in mind that I upload the file and then
    update an SQL DB with the file info?
    >
    2) They have 2 FTP locations for 1 site (no mirroring) so a user
    normally uploads the same content to 2 locations. This is no good for
    me as it's 50/50 as to whether the user uploads the file via my CMS to
    FTP site 1 or 2 and then 50/50 as to whether the visitor sees the
    content from FTP site 1 or 2. I cannot get them to alter this setup,
    even though I think it is crap, so do you know of a way where I can
    upload the file to these 2 locations simultaneously? ??
    >
    Thanks
    >
    >
    >
    >
    You can FTP without a component -
    http://benmeg.com/code/asp/ftp.asp.html - I use this at work all the
    time, saves me from having to upload the files using a component. I
    just have to put in the name of the image, or other file, then ftp it
    up.

    You can also upload without a component -
    Send/receive files via FTP in ASP without using a 3rd party COM component

    I have used this as well, and it works fine.

    --
    Adrienne Boswell at Home
    Arbpen Web Site Design Services

    Please respond to the group so others can share

    Comment

    • MikeR

      #3
      Re: How to upload a file to 2 FTP sites without an upload componentfor company

      Adrienne Boswell wrote:
      You can FTP without a component -
      http://benmeg.com/code/asp/ftp.asp.html - I use this at work all the
      time, saves me from having to upload the files using a component. I
      just have to put in the name of the image, or other file, then ftp it
      up.
      >
      You can also upload without a component -
      Send/receive files via FTP in ASP without using a 3rd party COM component

      I have used this as well, and it works fine.
      Adrienne -
      The same link twice.
      Mike

      Comment

      • Adrienne Boswell

        #4
        Re: How to upload a file to 2 FTP sites without an upload component for company

        Gazing into my crystal ball I observed MikeR <nf4lNoSpam@pob ox.com>
        writing in news:elmSIG#7IH A.3480@TK2MSFTN GP03.phx.gbl:
        Adrienne Boswell wrote:
        >You can FTP without a component -
        >http://benmeg.com/code/asp/ftp.asp.html - I use this at work all the
        >time, saves me from having to upload the files using a component. I
        >just have to put in the name of the image, or other file, then ftp it
        >up.
        >>
        >You can also upload without a component -
        >http://benmeg.com/code/asp/ftp.asp.html
        >I have used this as well, and it works fine.
        Adrienne -
        The same link twice.
        Mike
        >
        I hate that when that happens - here's the other url:
        This website is for sale! asp101.com is your first and best source for information about asp101. Here you will also find topics relating to issues of general interest. We hope you find what you are looking for!


        --
        Adrienne Boswell at Home
        Arbpen Web Site Design Services

        Please respond to the group so others can share

        Comment

        • MikeR

          #5
          Re: How to upload a file to 2 FTP sites without an upload componentfor company

          Adrienne Boswell wrote:
          I hate that when that happens - here's the other url:
          This website is for sale! asp101.com is your first and best source for information about asp101. Here you will also find topics relating to issues of general interest. We hope you find what you are looking for!

          >
          Thanx!

          Comment

          • Daniel Crichton

            #6
            Re: How to upload a file to 2 FTP sites without an upload component for company

            MikeR wrote on Mon, 28 Jul 2008 09:23:51 -0400:
            Adrienne Boswell wrote:
            >I hate that when that happens - here's the other url:
            >http://www.asp101.com/articles/jacob/scriptupload.asp
            Thanx!
            Also look at http://www.motobit.com/help/scptutl/pure-asp-upload.htm ; I've
            used this on a few sites and it works really well.

            --
            Dan


            Comment

            • MikeR

              #7
              Re: How to upload a file to 2 FTP sites without an upload componentfor company

              Daniel Crichton wrote:
              Also look at http://www.motobit.com/help/scptutl/pure-asp-upload.htm ; I've
              used this on a few sites and it works really well.
              Thanx!

              Comment

              Working...