Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in .NET FTP by (200 points)
If I'm trying to verify that a file has been successfully uploaded, will this give me a true status:

private void ftpConnection_Uploaded(object sender, FTPFileTransferEventArgs e)
{
if (!e.Succeeded)
throw new Exception("Failure to upload file: " + e.LocalPath);
}

1 Answer

0 votes
by (162k points)
Yes. Alternatively if you don't receive an exception it also succeeded.

Categories

...