Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.8k views
in Java FTP by
Hello everybody,

im am writing an application to synchronize my local files with a ftp server. but doing this it is nessesary to create very deep directory trees.

so as it is not possyble to transfer a whole directory i have to create every single directory by hand.

does anyone know a smart solution for my problem? it would be helpful if i could check for the existence of a remote directory. how can i do this?

thanks,
peter

4 Answers

0 votes
by
Use the dir() command, and parse the output to find out which are directories.

In the next release we'll be including some parsing classes to make this simpler.

Hello everybody,

im am writing an application to synchronize my local files with a ftp server. but doing this it is nessesary to create very deep directory trees.

so as it is not possyble to transfer a whole directory i have to create every single directory by hand.

does anyone know a smart solution for my problem? it would be helpful if i could check for the existence of a remote directory. how can i do this?

thanks,
peter
0 votes
by
Ah, okay, that's cool! When will it be released?

Thank you.
0 votes
by
Coding is actually pretty much complete. We will probably release 1.3.0 with this feature in the next few days. Keep an eye out for it.

Ah, okay, that's cool! When will it be released?

Thank you.
0 votes
by
I expect 1.3.0 to be released by Tues 20th April, which includes a new method that should give you the information you want.

Coding is actually pretty much complete. We will probably release 1.3.0 with this feature in the next few days. Keep an eye out for it.

Ah, okay, that's cool! When will it be released?

Thank you.

Categories

...