Board.KolibriOS.org
http://board.kolibrios.org/

FTP client
http://board.kolibrios.org/viewtopic.php?f=40&t=2360
Page 1 of 6

Author:  hidnplayr [ Wed Jul 10, 2013 12:49 pm ]
Post subject:  FTP client

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

Author:  ramiil-kun [ Wed Jul 10, 2013 6:29 pm ]
Post subject:  Re: FTP client

Very good. Have you used the FTP libs?

Author:  hidnplayr [ Wed Jul 10, 2013 6:33 pm ]
Post subject:  Re: FTP client

ramiil-kun wrote:
Very good. Have you used the FTP libs?


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

Author:  ramiil-kun [ Thu Jul 11, 2013 12:03 pm ]
Post subject:  Re: FTP client

Okay. It's all what i want to know.

Author:  Wildwest [ Thu Jul 11, 2013 7:03 pm ]
Post subject:  Re: FTP client

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.

Author:  Asper [ Thu Jul 11, 2013 7:32 pm ]
Post subject:  Re: FTP client

Really great! Standard library could be used by any program not only by a FM.

Author:  SoUrcerer [ Thu Jul 11, 2013 8:06 pm ]
Post subject:  Re: FTP client

Or even FTP directory can be mounted to file system ;)

Author:  hidnplayr [ Thu Jul 11, 2013 10:46 pm ]
Post subject:  Re: FTP client

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?

Author:  ramiil-kun [ Thu Jul 11, 2013 11:01 pm ]
Post subject:  Re: FTP client

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.

Author:  yogev_ezra [ Sun Mar 23, 2014 9:39 pm ]
Post subject:  Re: FTP client

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 9997 times ]

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

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

Author:  hidnplayr [ Mon May 12, 2014 10:31 am ]
Post subject:  Re: FTP client

Forgot to answer here, but bug described by yogev has been fixed.

Author:  ashmew2 [ Mon May 12, 2014 12:09 pm ]
Post subject:  Re: FTP client

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 :)

Author:  nisargshah95 [ Tue Apr 12, 2016 10:33 pm ]
Post subject:  Re: FTP client

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

Author:  nisargshah95 [ Wed May 04, 2016 11:30 pm ]
Post subject:  Re: FTP client

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 :)

Author:  Pathoswithin [ Thu May 05, 2016 2:05 pm ]
Post subject:  Re: FTP client

I think, the main question is what resources will be used for GUI elements? It certainly should not be "all in myself" as Tinypad.

Page 1 of 6 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/