is it possible to transfer files using vb.net? Cutting the files from a certain directory and copy it to another
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the
Fileclass and itsMovemethod.Or the
FileInfoclass and itsMoveTomethod.If you want to move whole directories, there are the
DirectoryandDirctoryInfoclasses and their associatedMoveandMoveTomethods.With all of the above, if you do want copies, instead of moving files, use the
CopyandCopyTomethods, which work similarly to theMoveandMoveTomethods.This is applicable to all .NET languages, not only VB.NET.