How to close ftp connection opened by URLConnection?

K

kisonaj

Hi everybody.
Can you tell me how to close connection opened by URLConnection ?

Thanks a lot, Mark
 
T

Thomas Weidenfeller

kisonaj said:
Can you tell me how to close connection opened by URLConnection ?

From the API documentation of URLConnection:

| Invoking the close() methods on the InputStream or OutputStream of an
| URLConnection after a request may free network resources associated
| with this instance, unless particular protocol specifications specify
| different behaviours for it.

/Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top