Skip to content

Ftp#10

Open
ASGusev wants to merge 19 commits intomasterfrom
ftp
Open

Ftp#10
ASGusev wants to merge 19 commits intomasterfrom
ftp

Conversation

@ASGusev
Copy link
Owner

@ASGusev ASGusev commented Apr 26, 2017

No description provided.

*/
public class FTPClient {
private SocketChannel socketChannel;
private final static int COMMAND_CODE_GET = 1;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это бы как-то переиспользовать между клиентом и сервером всё же хотелось, это ж протокол взаимодействия по сути

if (result == -1) {
try{
socketChannel.close();
} catch (IOException e) {}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а чего он пустой?

}
}

project(':gui_client') {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а как тут собрать все jar'ы с зависимостями?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все jar-ы собираются по команде ./gradlew build в корневом проекте.

@jzuken
Copy link

jzuken commented May 28, 2017

запустил gui клиента, ткнул на server.jar, оно сказало, что всё скачалось ок, а в консоли исключение java.lang.ArrayIndexOutOfBoundsException и адовый стек вызовов. так задумано?

@jzuken
Copy link

jzuken commented May 28, 2017

ещё в окошке в списке хорошо бы показывать пункт "..", чтобы можно было на уровень выше подняться

@jzuken
Copy link

jzuken commented May 28, 2017

за консольную версию зачёт, 10 баллов

@jzuken
Copy link

jzuken commented Jun 3, 2017

ок, 10 за gui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants