Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.2k views
in .NET FTP by (220 points)
I have a problem during upload a file on a secure ftp server.
After invoking PUT, the file is correctly uploaded, but i receive an exception of fileNotFound; Why?

Try
moFTP.Put(sFile, "\" + sSrvDir + sFile.Substring(sFile.LastIndexOf("\") + 1), False)


Catch ex As Exception
msgbox ex.Message
End Try


I'm working with VB.NET and trial version of EDTFTPpro

Regards

1 Answer

0 votes
by (162k points)
It is best to change directory to the destination directory and just supply a remote filename rather than a path.

If that doesn't work please post the stack trace and a log file (see the help).

Categories

...