Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. File upload to FTP

File upload to FTP

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netvisual-studiowindows-admin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Radhakrishnan G
    wrote on last edited by
    #1

    My problem is file uploading is failed when website is published otherwise its working fine I am using IIS 5.0 and ASP.net 3.5 in Visual Studio 2008 For attatching file i am using a seperate popup window and saveing posted file in session variable Session["postedFile"] = uploadFile.PostedFile; // HttpPostedFile from FileUpload control Uploading is done from another page. Is it can be done in better way? Please help Regards Radhakrishnan G.

    A 1 Reply Last reply
    0
    • R Radhakrishnan G

      My problem is file uploading is failed when website is published otherwise its working fine I am using IIS 5.0 and ASP.net 3.5 in Visual Studio 2008 For attatching file i am using a seperate popup window and saveing posted file in session variable Session["postedFile"] = uploadFile.PostedFile; // HttpPostedFile from FileUpload control Uploading is done from another page. Is it can be done in better way? Please help Regards Radhakrishnan G.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Why do you use Session to store files.... It is the highest possiblity of the user to upload a large file and eat up all the memory of the server.. Think it will be better to write in disk rather than using memory for file upload.

      Abhishek Sur

      R 1 Reply Last reply
      0
      • A Abhishek Sur

        Why do you use Session to store files.... It is the highest possiblity of the user to upload a large file and eat up all the memory of the server.. Think it will be better to write in disk rather than using memory for file upload.

        Abhishek Sur

        R Offline
        R Offline
        Radhakrishnan G
        wrote on last edited by
        #3

        Thanks for the reply. Yes thats good idea. I shall keep these attatched files in the Temperory folder of the server after the processing and uploading I will remove this files..

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups