General discussion

  • Creator
  • #2175316

    Urgnet plz


    by aamirjavied ·

    I have site of artical , i give option site that user uplaod artical file like browse style simply browse fiel and uplaod ..i want that user simply give dir path and application upload all file auto witch he find in this it possibal in…if yes then plz how?

All Comments

  • Author
    • #3250852

      Reply To: Urgnet plz

      by thirumalai_c_b ·

      In reply to Urgnet plz


      you can use microsoft scripting runtime library and map the folder. then use for each command to read files one by one and upload the same.

    • #3174906

      Reply To: Urgnet plz

      by amoljpatil ·

      In reply to Urgnet plz

      – Use the HTML, File Field control.
      – Suppose ur File Field contorl name is : htxtFileField.
      – htxtFileField.PostedFile.FileName will give you the path & name of uploaded file.
      – htxtFileField.PostedFile.SaveAs(““) method will save the file in the specified path.
      – You can config this path into web.config also.



Viewing 1 reply thread