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
Ankit Agarwal
NA
379
253.1k
How to copy data or file from one computer to local server?
Dec 28 2016 3:47 AM
Hello,
How to copy data or file from one computer to local server using c#.net windows application?
i have tried this code but not coping.
my code:-
string ipAddress = txtIP.Text;
//int port = int.Parse(txtPort.Text);
for (int i = 0; i < arrayList.Count; i++)
{
using (Ionic.Zip.ZipFile zip = new Ionic.Zip.ZipFile())
{
zip.AddDirectory(arrayList[i].ToString());
//zip.Save(@"D:\abc" + "_" + (i + 1) + ".zip");
zip.Save(@"D:\abc" + "_" + (i + 1) + ".zip");
fileName = @"D:\abc" + "_" + (i + 1) + ".zip";
File.Copy(fileName, txtIP.Text + "shared");
MessageBox.Show("Files zipped");
}
}
Please help me.
How to resolve this issue?
Thanks in Advance.
Ankit Agarwal
Software Engineer
Reply
Answers (
6
)
complex type of stored procedure with function import
Carrer_on_ms_net