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) HOW CAN I RENAME A FILE AFTER I UPLOAD IT TO MY SERVER?

(ASP) HOW CAN I RENAME A FILE AFTER I UPLOAD IT TO MY SERVER?

Scheduled Pinned Locked Moved Web Development
databasequestioncsharphtmlsysadmin
2 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.
  • J Offline
    J Offline
    Jonavis
    wrote on last edited by
    #1

    I managed to upload a file, but I need to rename this file (image) with the recordset's asigned ID. Process: 1a.- Generate ID 1b.- Capture Data 1c.- Select Image to Upload 1d.- Send 2a.- Record all the info in the Database 2b.- Rename the uploaded image with the recordsets ID ca- Load Page. cb.- Substitute the following: ![](images/<%= rsRecordset.fields()"> thanks for your help, Jon GET TO KNOW ME

    M 1 Reply Last reply
    0
    • J Jonavis

      I managed to upload a file, but I need to rename this file (image) with the recordset's asigned ID. Process: 1a.- Generate ID 1b.- Capture Data 1c.- Select Image to Upload 1d.- Send 2a.- Record all the info in the Database 2b.- Rename the uploaded image with the recordsets ID ca- Load Page. cb.- Substitute the following: ![](images/<%= rsRecordset.fields()"> thanks for your help, Jon GET TO KNOW ME

      M Offline
      M Offline
      Mark Sanders
      wrote on last edited by
      #2

      You might want to check out the FileSystemObject. Here is a link to an MSDN article. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsFSOTutor.asp[^] Mark Sanders sanderssolutions.com

      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