This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ftplib | |
import sys | |
import os | |
ftpServer = 'xxx' | |
ftpUser = 'xx' | |
ftpPass = 'xx' | |
#ftpPath = 'FileFlowStatus/' | |
ftpPath = '/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blogout = new Button("Registrovat"); | |
blogout.addClickHandler(new ClickHandler(){ | |
public void onClick(ClickEvent sender) { | |
RequestBuilder request = new RequestBuilder(RequestBuilder.POST, GWT.getModuleBaseURL() | |
+ "userhandling/createUser"); | |
request.setRequestData("username=" + user.getText() + "&password=" + pass.getText() + "&im=" + im.getText() | |
+ "&email=" + email.getText()); | |
request.setHeader("Content-Type", "application/x-www-form-urlencoded"); | |
request.setCallback(new RequestCallback() { | |
public void onError(Request request, Throwable exception) { |