Board.KolibriOS.org

Official KolibriOS board
It is currently Fri Dec 06, 2019 6:39 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 75 posts ]  Go to page 1 2 3 4 5 Next
Author Message
 Post subject: FTP client
PostPosted: Wed Jul 10, 2013 12:49 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Hooray, the FTP client is here!

No fancy GUI but a simple CLI interface is provided.

Image

Image

Known limitations:
-Only passive data connection for now
-When retrieving data from server, first byte may be lost, this must be problem in kernel.
-...

Good to know:
-type help for help
-Files are read/written to the applications user directory (/RD/1/ by default, change with lcwd command)

Feature request and bug reports are accepted here.
The program has been included in the nightbuild since #3801

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: FTP client
PostPosted: Wed Jul 10, 2013 6:29 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 5:53 pm
Posts: 98
Very good. Have you used the FTP libs?

_________________
Нуб зеленый.


Top
   
 Post subject: Re: FTP client
PostPosted: Wed Jul 10, 2013 6:33 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
ramiil-kun wrote:
Very good. Have you used the FTP libs?


The what?
This client has been written from scratch in pure flat assembly.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: FTP client
PostPosted: Thu Jul 11, 2013 12:03 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 5:53 pm
Posts: 98
Okay. It's all what i want to know.

_________________
Нуб зеленый.


Top
   
 Post subject: Re: FTP client
PostPosted: Thu Jul 11, 2013 7:03 pm 
Offline

Joined: Wed May 18, 2005 7:27 pm
Posts: 1001
Great work. It is common practice in file managers to give graphical interface for work with ftp as with remote disk/folder. Probably KFAR (or other file manager) plug-in could be next step.


Top
   
 Post subject: Re: FTP client
PostPosted: Thu Jul 11, 2013 7:32 pm 
Offline
User avatar

Joined: Fri Jun 27, 2008 3:22 pm
Posts: 988
Really great! Standard library could be used by any program not only by a FM.


Top
   
 Post subject: Re: FTP client
PostPosted: Thu Jul 11, 2013 8:06 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
Or even FTP directory can be mounted to file system ;)


Top
   
 Post subject: Re: FTP client
PostPosted: Thu Jul 11, 2013 10:46 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Asper wrote:
Really great! Standard library could be used by any program not only by a FM.


A library is not so hard to make, but who will use it?

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: FTP client
PostPosted: Thu Jul 11, 2013 11:01 pm 
Offline
User avatar

Joined: Wed Dec 21, 2011 5:53 pm
Posts: 98
Hmm, library will be a first step to "FTP-FS", for example. We have ftp-server and ftp-client in kolibri, and network stack work on different computers. It will be good feature, if you understand me.

There are lot of mistakes, sorry.

_________________
Нуб зеленый.


Top
   
 Post subject: Re: FTP client
PostPosted: Sun Mar 23, 2014 9:39 pm 
Offline
Public Relations
User avatar

Joined: Mon Jun 07, 2010 12:01 pm
Posts: 1879
http://bugs.kolibrios.org/view.php?id=80
KolibriOS FTP client (ftpc) doesn't request username/password on some servers
Connect to ftp.kolibrios.org - username/password is requested as expected.
Connect to ftp.idit.co.il - no prompt for username/password.
Connect to ftp.idit.co.il using Windows command-line FTP client - works ok (username/password is requested as expected).
As a result, I am unable to work with ftp.idit.co.il in KolibriOS
SVN #4665
Spoiler: Show
Attachment:
ScreenShot821.png
ScreenShot821.png [ 24.49 KiB | Viewed 8898 times ]

Attachment:
ftp.idit.co.il.png
ftp.idit.co.il.png [ 11.68 KiB | Viewed 8898 times ]

Attachment:
ftp.kolibrios.org.png
ftp.kolibrios.org.png [ 15.64 KiB | Viewed 8898 times ]


Top
   
 Post subject: Re: FTP client
PostPosted: Mon May 12, 2014 10:31 am 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Forgot to answer here, but bug described by yogev has been fixed.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: FTP client
PostPosted: Mon May 12, 2014 12:09 pm 
Offline
Mentor

Joined: Tue Mar 11, 2014 11:37 am
Posts: 184
Added a RDIR command to FTP client with #4922 ,

RDIR : Retreieve directory

It currently retreives all the files from the server's current working directory and ignores any subdirectories inside.

Plans are to eventually make this recursive with a --recursive flag.

Please use and report any issues you face :)

_________________
---
Check out the Netsurf Web Browser for KolibriOS.
Read the wiki and happy hacking with KolibriOS!


Top
   
 Post subject: Re: FTP client
PostPosted: Tue Apr 12, 2016 10:33 pm 
Offline
KSoC/GSoC Student

Joined: Thu Mar 03, 2016 6:49 pm
Posts: 42
I added the functionality to parse command line arguments of the form ftp://user:password@server.com:port/folder/subfolder (#6394). For eg.,
Code:
ftpc ftp://anonymous:pass@ftp.kolibrios.org:21/users


Last edited by nisargshah95 on Mon Jun 06, 2016 7:55 am, edited 2 times in total.

Top
   
 Post subject: Re: FTP client
PostPosted: Wed May 04, 2016 11:30 pm 
Offline
KSoC/GSoC Student

Joined: Thu Mar 03, 2016 6:49 pm
Posts: 42
I am working on creating a GUI for the existing FTP client as part of my GSoC project. The main goals of the project are -

1. support for existing commands in the FTP client
2. search remote directory
3. enable logging control data to log file
4. display upload/download progress bar
5. support resuming downloads (http://bugs.kolibrios.org/view.php?id=96)
6. support to abort transfers.

Here is a mock image of how the GUI would look like -
Image

I showed this earlier to my mentor ashmew2 and the following changes will be made -
1. have separate window for username and password inputs which will be replaced by the client window on successful login.
2. grey out buttons like delete, upload if the user does not have required permissions.
3. add proper error handling

Any suggestions are welcome so that they can be incorporated into the client :)


Top
   
 Post subject: Re: FTP client
PostPosted: Thu May 05, 2016 2:05 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Thu Mar 26, 2015 5:16 pm
Posts: 1264
I think, the main question is what resources will be used for GUI elements? It certainly should not be "all in myself" as Tinypad.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 75 posts ]  Go to page 1 2 3 4 5 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited