-2

I'm creating a winform app and i'm trying to copy a folder and its content to the same directory on the FTP server (duplicate it) so for example let's say the FTP server folder now look like:

FTP://.../Main/temp/a.txt
FTP://.../Main/temp/b.txt

After the duplication of 'temp' folder 'Main' folder should look like:

FTP://.../Main/temp/a.txt
FTP://.../Main/temp/b.txt
FTP://.../Main/NewDir/a.txt
FTP://.../Main/NewDir/b.txt

I wonder what is the best way to do this? Thanks!

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Liron
  • 1
  • 3
    The "best" way is to do it with some C# programming. – Uwe Keim May 10 '17 at 09:20
  • A more serious answer: "[How do I ask a good question?](https://stackoverflow.com/help/how-to-ask)". – Uwe Keim May 10 '17 at 09:21
  • Being more kind is a more serious answer.. dumb – Liron May 10 '17 at 09:32
  • I really don't understand why you don't search through Google or SO. Then [something like this](http://stackoverflow.com/a/3808815/107625) should have been easily discoverable. – Uwe Keim May 10 '17 at 09:51
  • SO there's no standard way of doing this, because of this i did not found anything on google BEFORE i posted this question. – Liron May 10 '17 at 10:04

1 Answers1

0

You Can use this solution

First download in temp dir the folder and upload (follow the link) by changing the name. It can be a solution.

Community
  • 1
  • 1
Unrillaz Ti'bob
  • 71
  • 1
  • 1
  • 7