October 09, 2024, 05:08:56 PM

News:

IWBasic runs in Windows 11!


FTP commands

Started by Ionic Wind Support Team, April 15, 2009, 01:59:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ionic Wind Support Team

April 15, 2009, 01:59:42 PM Last Edit: May 21, 2011, 04:03:51 PM by LarryMc
Hello all.
I've written FTP commands for use with the NCS library.  Which allow you to send and receive files via an FTP server using two easy commands:


NCSInit(2,0)
FTPGetFile("data1/testfile2.zip",GetStartPath + "testfile2.zip","ftp.ionicwind.com",21,"test@ionicwind.com","GlueStick",TRUE)
cls
FTPPutFile("data1/testfile2.zip",GetStartPath + "testfile2.zip","ftp.ionicwind.com",21,"test@ionicwind.com","GlueStick",TRUE)
NCSFree()


The source for the commands can be had for a donation of $20, and you can incorporate them into your own programs with no restrictions.  The commands include a verbose mode so you can see all of the communications between the client and FTP server.  Supports both anonymous and password protected FTP servers.


If there is enough interest I may expand on them to create a full set of ftp commands as an add-on.
Ionic Wind Support Team

Rock Ridge Farm (Larry)

If it were sftp I would be interested.

Ionic Wind Support Team

April 15, 2009, 03:17:01 PM #2 Last Edit: September 30, 2010, 09:31:33 AM by Larry McCaughn
Like I said, if there is enough interest I may consider expanding on them.  I know how to do sftp, but didn't have a reason to do it for the project these commands were written for.
Ionic Wind Support Team

DominiqueB

April 16, 2009, 04:58:23 AM #3 Last Edit: September 30, 2010, 09:31:51 AM by Larry McCaughn
hello,
i too would be very interested to get a complete set of commands expanding the network library,
but only if the command set is complete, i mean ftp, sftp, ftps, and all commands linked, as all commands
to change dir on ftp, to delete on ftp, to rename on ftp, to go one dir up, . . .
Anything one can do on local dir would be done on ftp dir .

Thank's

Dominique

Ionic Wind Support Team

April 16, 2009, 07:44:40 AM #4 Last Edit: September 30, 2010, 09:32:06 AM by Larry McCaughn
Dominique,
What I meant is if enough people click on the $20 link, and get the FTP source, then I would likely expand on them.  It is a waste of my time otherwise as there isn't a lot of call for it.
Ionic Wind Support Team

tbohon

April 16, 2009, 09:09:44 AM #5 Last Edit: September 30, 2010, 09:32:23 AM by Larry McCaughn

Just bought the code via the link.

Sure do hope this grows ... I do a LOT of ftp work and am, in fact, working on a C# ftp script engine for work right now (C# was mandated, no option for EB  :-[ )

Tnx.

Tom
"If you lead your life the right way, the karma will take care of itself ... the dreams will come to you."  -- Randy Pausch, PhD (1961-2008)

Raid

May 05, 2009, 10:03:21 AM #6 Last Edit: September 30, 2010, 09:32:55 AM by Larry McCaughn
finally decided to spend the $20 and check this out. Thanks! :)
Proudly licensed EBASIC owner since Feb 2009. Network library present!