Discuss the FTP protocol, secure FTP, FTP over SSH and FTP over SSL.

http://www.drivehq.com/ftp

no avatar
User

pickaxe

Posts

2

Joined

Tue Jun 30, 2009 3:25 am

Location

Purbrook

http://www.drivehq.com/ftp

by pickaxe » Sat Sep 01, 2012 1:29 am

I'm testing my system against an FTP server provided by http://www.drivehq.com/ftp. I can connect OK but ftpClient.dirDetails("."), which used to work with 3.0.2, doesn't work with 4.2.0. There are files in the directory but the method returns an empty FTPFile[].
no avatar
User

pickaxe

Posts

2

Joined

Tue Jun 30, 2009 3:25 am

Location

Purbrook

by pickaxe » Sat Sep 01, 2012 1:59 am

I've fixed this code by calling ftpClient.dirDetails(directory) before ftpClient.cd(directory). Probably better anyway.

Who is online

Users browsing this forum: No registered users and 4 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron