TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ahmed elbarbary
NA
1.6k
281.4k
when copy file get error The target file is a directory, not a file
May 25 2021 11:18 AM
I work on asp.net core 3.1 web api
I get exception error as below :
Exception The target file is a directory, not a file. on file.copy
this lines generated exception
System.IO.File.Copy(OutputfilePath, Path.Combine(exportDirectory, fileName), true);
two files can access and open it when i open on fil explorer but issue
as above
so How to solve this issue please ?
what i try as below :
Reply
Answers (
4
)
if .net core is open source what is the use of visual studio enterpris
Dsipaly Username and user details After Login in Postman.