Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.4k views
in .NET FTP by (160 points)
Hello. I am using the following to upload a file to my server.

FtpConnection1.UploadFile(source, dest)


however, if dest already exists on the server, it simply gets overwritten. How can i prevent this?

1 Answer

0 votes
by (162k points)
You have to check if the file exists yourself. Use the Exists method.

Categories

...