Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
9.1k views
in General by (220 points)
Hey guys,

i have a project which requires the transmission of some files using FTP. This is really only a small part of the project so i dont have a great deal of time to spend on it. I only need to upload a file to an apache server. Then from another end download that same file. Hence i need two really simple clients.

I have downloaded and put edtftpj in my classpath and have access to just about everything.
What i dont know is what i need to implement this. I understand the basic of FTP, opening control connections, setting the server in passive/active mode then setting up the appropriate data connections.

Is there anything that would give me an example of this to use the edtftpj library? I have looked at other libraries, but it always the same case of lack of example tutorials.
Can anyone help?

Cheers

Dave

2 Answers

0 votes
by (162k points)
Look at the demo directory in the download.

Hey guys,

i have a project which requires the transmission of some files using FTP. This is really only a small part of the project so i dont have a great deal of time to spend on it. I only need to upload a file to an apache server. Then from another end download that same file. Hence i need two really simple clients.

I have downloaded and put edtftpj in my classpath and have access to just about everything.
What i dont know is what i need to implement this. I understand the basic of FTP, opening control connections, setting the server in passive/active mode then setting up the appropriate data connections.

Is there anything that would give me an example of this to use the edtftpj library? I have looked at other libraries, but it always the same case of lack of example tutorials.
Can anyone help?

Cheers

Dave
0 votes
by (220 points)
That was just stupid of me! I had been up a very long time that day with too much caffeine in me.

Just wanted to say thank you very very much! I'm using eclipse IDE so it was a bit funny to figure out the demo.
Once i did.... WOW, what a lovely piece of work, it does exactly what i require and very intuitive to modify.

Thank you EDT! :D

Categories

...