I am receiving a Invalid Argument 550 error when trying to
ftp.PutFile(_source, fileName);
where _source = "\\server\folder\pending\Test1.txt"; fileName = "Test1.txt";
Exception: Rebex.Net.FtpException
Message: \\mosprodsql1\loanport\pending\Test1.txt: Invalid argument (550).
Source: Rebex.Net.Ftp
at Rebex.Net.Ftp.StartTransfer(String command, FtpStream stream, Int64 serverOffset, FtpTransferState transfer)
at Rebex.Net.Ftp.UploadFile(String command, String remotePath, Stream sourceStream, Int64 remoteOffset, Int64 length)
at Rebex.Net.Ftp.UploadFile(String command, String remotePath, String localPath, Int64 remoteOffset, Int64 localOffset, Int64 length)
at Rebex.Net.Ftp.PutFile(String localPath, String remotePath)
at ProcHost.LoanPortDataFileProcessing.FtpSendFile()
We are using version 2.5.2800.0 Rebex.Net.Ftp. Any thoughts?