Error message: 'name.ext' : no such file or directory. (code=550)
I'm not sure what I'm doing wrong.
The source to get all directory (sample) on event click (button 1):
'(http://www.enterprisedt.com/products/edtftpnet/doc/Tutorial/index.html)
FtpConnection1.Connect()
Dim files As String() = FtpConnection1.GetFiles()
ListBox1.Items.AddRange(files)
FtpConnection1.Close()
With this, all complete directory is set on my 'listbox1'. The problem start when
I try with 'GetLastWriteTime' with a File. NOTE: With anyone 'directory' works perfect.
FtpConnection1.Connect()
Dim files As String() = FtpConnection1.GetFiles("baseSyc.sql") 'ERROR!!!!!!!
'-only files... No dirs
ListBox1.Items.AddRange(files)
FtpConnection1.Close()
What is wrong with this code?. I have:
- IP XX.XX.227.220
- FTP BProof Server and is installed in Win2000 PC working perfect...
- VB Net 2005
I know that is easy. Thanks for any help....