upm-swing icon indicating copy to clipboard operation
upm-swing copied to clipboard

implemented FTPtransport

Open resli opened this issue 10 years ago • 7 comments

resli avatar Apr 02 '14 19:04 resli

Thanks for this resli. I've made a few comments inline. Looks like a very useful addition.

One last request. Could you change all tabs to spaces please. I'm trying to use spaces consistently.

Thanks Adrian

adrian avatar Apr 16 '14 18:04 adrian

Yes, of course. Shall I replace the tabs? Everything is new to me because this is the first time I contribute a project...

BTW: I also implemented FTPtransport in upm-android. It works great! I will pull it after this issue has been successfully completed.

Andreas

resli avatar Apr 22 '14 19:04 resli

I think there is a need to provide the user a simple help that supports him in entering the correct data (see the remoteLocation misunderstanding above) while setting up the remote location of the database. The project has grown and there are many different ways (http, ftp, dropbox)...

How do you think about a simple JTabbedPane? Each tab contains some text for http, ftp, dropbox. The pane could be accessed via a menu entry, eg. Help - Setup Remote Database.

Sorry for my funny english writing - I'm a swiss boy! :-)

resli avatar Apr 22 '14 19:04 resli

Adrian,

I pulled my latest commit. I tested FTPtransport on Linux and Windows 7.

resli avatar May 03 '14 19:05 resli

I made the changes we discuss a while ago. the pull request was something like inactive? I hope it works now.

resli avatar Sep 25 '14 21:09 resli

Thanks for updating this resli.

I'm getting this error when I try to set the remote URL for my database. The URL is ftp://<my server>/webspace/httpdocs/.

screenshot from 2014-09-29 19 33 03

I've tested the credentials using a regular FTP client and they work fine.

adrian avatar Sep 29 '14 18:09 adrian

Did you entered ftp:///webspace/httpdocs/. with or without the period?

An URL with the period means the directory httpdocs and is invalid, isn't it? The URL without the period should result in the following exception:

unbenannt

I also tried http:///webspace/httpdocs/ and this does not work, too.

It seems that there is a bug in java.net.URL. A new URL("ftp:///dir/") is not expanded to "ftp://localhost/dir/". Do you think the short form ftp:///dir is used in real life?

resli avatar Oct 09 '14 15:10 resli