upm-swing
upm-swing copied to clipboard
implemented FTPtransport
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
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
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! :-)
Adrian,
I pulled my latest commit. I tested FTPtransport on Linux and Windows 7.
I made the changes we discuss a while ago. the pull request was something like inactive? I hope it works now.
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/.
I've tested the credentials using a regular FTP client and they work fine.
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:
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?