Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP class in vb

Status
Not open for further replies.

hexOffender

Programmer
Nov 6, 2006
146
US
I am working with the clsFTP class in a windowsForm app. The class can be found here:

I am having a problem getting the changeDirectory function to change the directory.

Code:
If (ff.ChangeDirectory("Report_Backups") = True) Then
                    'Successful changing the directory
                    MsgBox("Changed to Report_Backups directory", MsgBoxStyle.OKOnly)
end if

I know the directory is there, and I know my program is logging in correctly to the FTP server. I've tried different syntax for the parameter, but nothing seems to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top