how to change directory on ftp server using commons net
Hi,
M logging on ftp server. And can list all file on home directory.
But my application requires that i need to save files on other directory.
To elaborate the problem:
My HOME Directory is : E:\EIS
i can upload files on the above location.
but i m not able to upload files on D:\EIS.
method changeDirectory is not working
220 Service ready for new user
220 Service ready for new user
USER nick
331 User name okay, need password for nick
PASS 1234
230 User logged in, proceed
USER sutapa
331 User name okay, need password for sutapa
PASS 12345
230 User logged in, proceed
CDUP
200 Directory changed to /
CWD D:\EIS
431 No such directory
SYST
215 UNIX Type: FtpServer
PORT 10,42,71,36,12,17
200 Command PORT okay
LIST
150 File status okay; about to open data connection
226 Closing data connection
it says D:\EIS does not exists ....but the directory is already there with all read write permission..
I cant figure out the logic of how to change the directorty on ftp server.
Any help is welcome...

