Use Relative Path with CopyTo command

Last post 04-01-2009, 1:28 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  04-01-2009, 1:20 PM 50626

    Use Relative Path with CopyTo command

    I would like to use a relative path for the item.CopyTo command instead of the absolute path. I am writing a .NET site using vb.net if that makes any difference.
    Filed under: , ,
  •  04-01-2009, 1:28 PM 50628 in reply to 50626

    Re: Use Relative Path with CopyTo command

    Hi,
     
    You can use Server.MapPath() to get absolute path.
     
    VB.net are same as C# while you using the Uploader.
     
    Regards,
    Terry
     
View as RSS news feed in XML