maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] - FTP Client (https://talk.maemo.org/showthread.php?t=55336)

jojop2 2010-06-06 09:05

[Announce] - FTP Client
 
Hi community,
it is my first active post here and I hope it will be an interesting one for at least some of you.

My search for an usable FTP client wasn't of any success. So I decided to write one on my own.

Currently the following functions are implemented:
  • Server connection bookmarks
  • on Remote site
  • create/rename
  • download single files
  • download directories recursively
  • on local site
  • upload single files
  • upload directories recursively
  • delete / rename / new directory
future planned features are
  • current file transfer progress

the whole application sbould be designed for finger usage (is this the proper word?)

In case someone is interested in this app, I would appreciate any feedback.

======================
Here are some screenshots of Version 0.1.3

http://dremadur.de/screenshots/n900ftp/Screenshot06.png
Enter manual connection string

http://dremadur.de/screenshots/n900ftp/Screenshot07.png
Connect via an already saved bookmark

http://dremadur.de/screenshots/n900ftp/Screenshot08.png
Enter a new server bookmark

http://dremadur.de/screenshots/n900ftp/Screenshot04.png
Local and Remote directory view after the connection has been established

http://dremadur.de/screenshots/n900ftp/Screenshot03.png
Context menu for local directory

http://dremadur.de/screenshots/n900ftp/Screenshot02.png
Contect menu for remote directory

nikolajhendel 2010-06-06 09:13

Re: Announcement - FTP Client
 
very interested in this. Not quite sure whether it's going to be available in the repos - searched for ftp, but yours didn't come up.

jojop2 2010-06-06 09:59

Re: Announcement - FTP Client
 
current state I would cosider to be an early pre release.
Beside that Id be thankfuĺ for some information about howto share the software via repos.

Kind of a short step by step guide would perfect.
1. setup account
2. create package
.
.

I think until tonight the recursive upload is working. Then I will upload a version on my HP. Download link will be provided here till I management to put it into repos.

aspidites 2010-06-06 12:09

Re: Announcement - FTP Client
 
@jojop2: Packaging, Deploying, and Distributiong

jojop2 2010-06-06 22:56

Re: Announcement - FTP Client
 
As promised, the first version is ready to download from this link
http://dremadur.de/N900FTP.zip

Please use this version on your own risk, it is nothing more than a pre release.
Nevertheless I'm waiting for every feedback to get this software running smoothly.

After download, unzip and put somewhere in your filesystem. From commandline execute then
# python N900FTP.py

I'm not quite sure, but I think the package "PyQt4 Full install" is needed.

Open issues are:
- After downloading / uploading the local or remote view is not updated
--> workaround, select another dir and jump back
- Recursive deleting remote directories is not working
- Bookmarks are not implemented yet,
--> every time the login information has to be re-entered
- No progressbar of what is happening
--> only commandline sth. is logged
in combination with the first issue it's not so easy to realize when a transfer is finished

HowTo use the application:
1. After start click on menu -> Open Location
2. After successfull connect the left list shows the local filesystem, the right list shows the remote server
3. Any action is started, by clicking and holding on a list entry. The context menu, which opens, offers all possible functions
4. To switch from Home-Folder to Memory-Card, open the menu --> Switch Local Dir and enter /media/mmc1



@aspidites: Thanks for providing the link. It seems most of the instructions are based on using scratchbox environment. I hope I'll find another way, because I haven't set it up.

jojop2 2010-06-07 11:55

Re: [Announce] - FTP Client
 
Is there a designer out there, who wants to help in providing a nice application icon?

My designing skills are very poor.

Name of the application is up to now "N900FTP"

maxximuscool 2010-06-07 12:02

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by jojop2 (Post 703369)
Is there a designer out there, who wants to help in providing a nice application icon?

My designing skills are very poor.

Name of the application is up to now "N900FTP"

let me come up with something for you tomorrow. Right now it's getting late and got work in the morning.

i'll PM you.

jojop2 2010-06-07 12:07

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by maxximuscool (Post 703381)
let me come up with something for you tomorrow. Right now it's getting late and got work in the morning.

i'll PM you.

Wow that would be cool. Thanks in advance.

rash.m2k 2010-06-07 12:17

Re: [Announce] - FTP Client
 
Uh dude did you try gFTP? It's already implemented!

mokkey 2010-06-07 12:19

Re: [Announce] - FTP Client
 
were can i download this app to test?

rash.m2k 2010-06-07 12:54

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by mokkey (Post 703396)
were can i download this app to test?

Its in extras-testing or extras-devel

HtheB 2010-06-07 13:01

Re: [Announce] - FTP Client
 
any screenshots?

mokkey 2010-06-07 13:49

Re: [Announce] - FTP Client
 
i tryd searching for it and it dont come up?

jojop2 2010-06-07 21:26

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by mokkey (Post 703511)
i tryd searching for it and it dont come up?

Sorry it's still not in repos.

I tried to upload twice now, but keep getting error in the build process.
If you don't mind you can install the python source files and start the application via commandline.
Package to download:
http://dremadur.de/N900FTP.zip

I'll try check the build process tomorrow again.

Good night.

jojop2 2010-06-07 21:29

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by HtheB (Post 703447)
any screenshots?

Screenshots will follow tomorrow too, but don't expect to much!

Finger friendly means two listwidgets (left | right). One for Local Directory and one for Remote.

Tap and and holding on an entry opens a contextmenu with the possible options.

MohammadAG 2010-06-07 22:34

Re: [Announce] - FTP Client
 
2 Attachment(s)
Knock yourself out

The .zip (not sure why I picked .zip, I'm used to other forums not supporting tar.gz) contains a tar.gz, a .dsc, and a .changes file, all of which are using your entries (maintainer name, email etc...)

The .deb file is built using the source above.

I left you some comments in debian/rules, you might find them useful, you can take them out if you want :)

I also added a .desktop file so it pops up in the menu, and removed the icon part since there wasn't one.

Oh and I think your build failed cause you had an empty line in the description, empty lines aren't allowed, you can use a . to skip a line
Code:

foo
.
bar

instead of
Code:

foo

bar


jojop2 2010-06-08 06:09

Re: [Announce] - FTP Client
 
@MohammadAG

Thanks a lot! This community is really great.

In the evening I'm going to check out your mentioned points and try to run the build myself again, maybe with bookmark functionality included.

DonPIZI 2010-06-08 06:38

Re: [Announce] - FTP Client
 
can't install pyton2.5-qt4 is missing. It would be usefull to include this into the package.

maxximuscool 2010-06-08 07:52

Re: [Announce] - FTP Client
 
1 Attachment(s)
Quote:

Originally Posted by jojop2 (Post 704856)
@MohammadAG

Thanks a lot! This community is really great.

In the evening I'm going to check out your mentioned points and try to run the build myself again, maybe with bookmark functionality included.

Here buddy! your icon!
Lol it actually my first time making it so, may be it is not so good. So if you want to use it then it is up to you.

jojop2 2010-06-08 08:52

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by maxximuscool (Post 704928)
Here buddy! your icon!
Lol it actually my first time making it so, may be it is not so good. So if you want to use it then it is up to you.

Nice one, I really like.

Thank you!

MohammadAG 2010-06-08 08:52

Re: [Announce] - FTP Client
 
I'll leave you to add the icons (as an exercise :p)
Copy it from somewhere in your source directory to /usr/share/pixmaps.
Don't forgot to add usr/share/pixmaps in the debian/dirs file.
If you run into any problem just ask here :)

Oh and the line for the desktop file is Icon=filename
filename is the filename is /usr/share/pixmaps, if it was called n900ftp.png then just add Icon=n900ftp

maxximuscool 2010-06-08 09:01

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by jojop2 (Post 705007)
Nice one, I really like.

Thank you!

No problem buddy. You contributed to this community and I am glad i can help you out :)

I choose Orange theme for it because of Maemo.org, your application deserve an orange colour :)

Hahah it's my first icon making as well. I did some GIMP reading and tutorial and learn to make that :D for 30mins before I send it to you. I can make you plenty more now since I've already know how to make icon.

I'm thinking of making wallpaper next :D

maxximuscool 2010-06-08 09:08

Re: [Announce] - FTP Client
 
1 Attachment(s)
Here if you need a smaller version of it.
I have resized it for you from 300px to 100px and 50px.
Incase you might find it easier to use.

jojop2 2010-06-08 09:48

Re: [Announce] - FTP Client
 
Working with gimp is not the problem for me, but being creative enough for graphics stuff. :-)

jojop2 2010-06-08 21:16

Re: [Announce] - FTP Client
 
Success!!!!

I finally managed to package and build the app for the first time with the help of maxximuscool, mohammadag and noobmonkey.
You guys will definitely mentioned on the upcoming "About" Screen :-)

You can find it in extra-dev already.

jojop2 2010-06-08 21:19

Re: [Announce] - FTP Client
 
Just realized a problem after installation.

The folder icons are not shown anymore.

In this code I set the icon, which is available in the ressource folder

Code:

self.m_lw_remote.addItem(QListWidgetItem(QIcon("ressource/folder.xpm"), ftpItem.name(), self.m_lw_remote))
Does someone have a clue why it is not working after deb installation?

maxximuscool 2010-06-08 21:25

Re: [Announce] - FTP Client
 
I've no clue with maemo coding lol. I haven't done any coding for more than 2years now. My C++, Java, C#, VB.net and other languages are rusty as a rusty car left in the rain for century.

I don't know how to help in this area with installation build sorry. Mohammad knows how to fix this

jojop2 2010-06-08 22:15

Re: [Announce] - FTP Client
 
OK, I think I fixed the icon bug with the 3rd build, which should show up in a few mins.

I put the absolute path in front of the icon ressource. Strange that it used to work on windows and on N900 sourcefiles.

Screenshots will be added tomorrow.

I have to go to bed.

Ciao

MohammadAG 2010-06-09 17:12

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by jojop2 (Post 706095)
Just realized a problem after installation.

The folder icons are not shown anymore.

In this code I set the icon, which is available in the ressource folder

Code:

self.m_lw_remote.addItem(QListWidgetItem(QIcon("ressource/folder.xpm"), ftpItem.name(), self.m_lw_remote))
Does someone have a clue why it is not working after deb installation?

Well, you can just install the icon in /usr/share/pixmaps/ and change the path accordingly, or just change it to /opt/n900ftp/resource/folder.xpm

jojop2 2010-06-09 17:24

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by MohammadAG (Post 707504)
Well, you can just install the icon in /usr/share/pixmaps/ and change the path accordingly, or just change it to /opt/n900ftp/resource/folder.xpm

Thanks, I figured out already.
The change is in latest version of extra-devel.

I'm still wondering why it is working when I run the python files located in /home/user/Mydocs

jojop2 2010-06-09 17:57

Re: [Announce] - FTP Client
 
I added some screenshots on first post of the thread, for those who are curious.

tho 2010-06-11 05:03

Re: [Announce] - FTP Client
 
How does one connect to a FTP using non-standard ports?

jojop2 2010-06-11 08:20

Re: [Announce] - FTP Client
 
I just uploaded a new version to extra-devel, which supports non-standard ports (extra textfield to enter the port).

Can you please give a short feedback if it's working, since I have no server in access with a port other than 21.

ruskie 2010-06-11 08:33

Re: [Announce] - FTP Client
 
Does it work with SSL FTP?

jojop2 2010-06-11 09:18

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by ruskie (Post 710042)
Does it work with SSL FTP?

Not yet. I have to check wheter the used library modules support it.

shrubbery 2010-06-11 09:59

Re: [Announce] - FTP Client
 
Thank you for this utility - I have unsuccessfully been trying to use gFTP for several months now and am glad that somebody has decided to create a maemo specific FTP client.

I have an FTP server setup on my mac using the built in FTP server software that comes with the OS. I can connect to the server and move into new directories successfully but I cannot move backwards through the directory structure. The '..' option is not present on the Remote server (although it is on the Local pane).

Help!

jojop2 2010-06-11 10:21

Re: [Announce] - FTP Client
 
1 Attachment(s)
Quote:

Originally Posted by shrubbery (Post 710150)
Thank you for this utility - I have unsuccessfully been trying to use gFTP for several months now and am glad that somebody has decided to create a maemo specific FTP client.

I have an FTP server setup on my mac using the built in FTP server software that comes with the OS. I can connect to the server and move into new directories successfully but I cannot move backwards through the directory structure. The '..' option is not present on the Remote server (although it is on the Local pane).

Help!

I'm not quite sure how I can help you now.
The best would be a test login for me, but I doubt that you can give me one, since you mentioned that the FTP server is on your local PC.

I attached a file, which might help in getting the debug information.

Are you familiar with the shell on your N900?
I think you need access to the rootshell (package rootshell),
via the command
Code:

sudo gainroot
first.
Please unzip the file, and put the file mainwindow.py in folder
Code:

/opt/n900ftp/ui
then run the FTP client by the command:
Code:

python /opt/n900ftp/N900Ftp.py
Please send me the debug information, which appears in the Shell window, after entering a remote directory.

In case that you need more help for the above steps, just ask.
Important are the lines, beginning with "Remote-Directory item: "

clovis86 2010-06-11 10:21

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by tho (Post 709867)
How does one connect to a FTP using non-standard ports?

Hi
thanks for your apps looks lot better than gftp
more N900 adapted screen ^^
download it at the moment using repo app downloader but still can't get the port selection :(
I think we got to wait more for it to be updated on the repo maybe ?
anyway if you put specific port and ssl support you will have a million fan around here ! :D
thanks anyway great job !

jojop2 2010-06-11 10:47

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by clovis86 (Post 710190)
Hi
thanks for your apps looks lot better than gftp
more N900 adapted screen ^^
download it at the moment using repo app downloader but still can't get the port selection :(
I think we got to wait more for it to be updated on the repo maybe ?
anyway if you put specific port and ssl support you will have a million fan around here ! :D
thanks anyway great job !

Nice to hear that the software is used by someone beside me.

For the repos, I always check
http://repository.maemo.org/extras-d...ree/n/n900ftp/
to see if it is available. I just refreshed and got the update. So it might need some time depending on the location.


I'll see if the SSL thingy is possible.
My first investigation showed me that QFtp is not able, but ftplib might work.
I started with QFtp because of the simple possibility to show the progress of filetransfers.

Could you live without a "Kilobyte- transfer progress" indicator?
Is a list of files, being in the queue to be transfered, enough?

clovis86 2010-06-11 10:52

Re: [Announce] - FTP Client
 
well a queue list will be better for a ftp client but I think just a transfer bar will be in off for most of us :D

apt-get update
then
apt-g dst-upgrade
fix the problem and find theupdate
i'm testing already !


All times are GMT. The time now is 21:10.

vBulletin® Version 3.8.8