Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.6k views
in .NET FTP by (700 points)
Hi,

I have been experimenting with UploadMultiple and UploadDirectory. Now my problem is trying to find out whether the file that will be uploaded exists on the remote server and if it does, I should skip it. To do this I began by handling the Uploading event. However, I am unable to instruct the code to skip the upload. I tried EXFtpconnection.canceltransfer but with no effect. I am using Exftpconnection.exists to check for the file on the remote server. But how can I tell ExFTPconnection to skip that file?

Thanks
Nick

3 Answers

0 votes
by (51.6k points)
Have you looked at ExFTPConnection.Synchronize()? It gives you a lot more control over what's transferred.

- Hans (EnterpriseDT)
0 votes
by (700 points)
I'll try to look at it thanks. But I didn't want to resort to the expensive solution. This feature obviously exists in the paid versions only. I'll lookat it and get back to you if I need more information.

Thanks
0 votes
by (162k points)
ExFTPConnection is part of edtFTPnet/Express (i.e. pay for version) also.

Categories

...