Hi
I am using the edtftpnet dll to upload files to the ftp server. It works fine when i try to upload a text file. But it gives me a error "A connection attempt failed". when i try to upload a tiff image file.
The code i used is
ftp.Login(user, pass)
ftp.ConnectMode = FTPConnectMode.PASV
ftp.TransferType = FTPTransferType.BINARY
ftp.Timeout = 5000
ftp.put("sample.tiff","sample.tiff")
Why does this error occur?
What should i do?