FTPS

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

FTPS

Post by keyless » Wed Apr 30, 2008 8:09 am

Wondering if FTPS connections and transfers (not SFTP, but just FTP with SSL) can be done easily with Rev and if there is any info on this around.

I do realize I'd need enterprise version to do this.

sims
Posts: 43
Joined: Wed Apr 12, 2006 5:36 pm

Re: FTPS

Post by sims » Wed Apr 30, 2008 8:50 am

keyless wrote:Wondering if FTPS connections and transfers (not SFTP, but just FTP with SSL) can be done easily with Rev and if there is any info on this around.

I do realize I'd need enterprise version to do this.

Please vote for: bug 6405 if you can!
http://quality.runrev.com/qacenter/show_bug.cgi?id=6405

Hopefully Rev will add this soon!

sims

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Re: FTPS

Post by keyless » Wed Apr 30, 2008 5:54 pm

Please vote for: bug 6405 if you can!
http://quality.runrev.com/qacenter/show_bug.cgi?id=6405

Hopefully Rev will add this soon!

sims
I will vote for that, but that is for SFTP, I am talking about FTPS here.
Enterprise version has SSL, I'm just wondering how easy it is/if it can be implimented with FTP

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Thu May 01, 2008 4:22 pm

http://en.wikipedia.org/wiki/Ftps

I'm not particular which method is used, so long as it provides a encrypted transmission.

Feel free to add your own notes to that RQQC request explaining the merits of FTPS over SFTP. I don't imagine many of the others who've voted for it have much of a preference, so if there's a clear advantage of one form or another I'm sure they could be easily swayed. :)
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Thu May 01, 2008 6:59 pm

FourthWorld wrote:http://en.wikipedia.org/wiki/Ftps

I'm not particular which method is used, so long as it provides a encrypted transmission.

Feel free to add your own notes to that RQQC request explaining the merits of FTPS over SFTP. I don't imagine many of the others who've voted for it have much of a preference, so if there's a clear advantage of one form or another I'm sure they could be easily swayed. :)
No the request is proper. SFTP in my mind is hands down better then FTPS as it is its own protocol entirely separate from regular FTP. FTPS is just regular FTP over a SSL connection.

I was just wondering if because rev can do FTP and because it claims it can do SSL it could do FTPS.

I have serious doubts now as I saw in revzilla SSL is seriously broken, with bad timeout issue noted back in 2006.

I suppose I will look into using cURl for FTPS or maybe PUTTY for SFTP. Upgrading to Enterprise isn't a real option for me right now anyway, was really just wondering.

Maybe one of the big spenders out there with their Oracle databases, will kindly use one of their "Silver" support issues to get the SSL carrot fixed. :roll:

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Sat May 03, 2008 11:13 am

Sadly, you're right. What seems to be broken is secure sockets.

One reason that FTPS is worth considering is that if the secure sockets issue ever gets sorted out, then adding support for FTPS in libURL would simply be a matter of using a secure socket for the existing FTP routines, whereas SFTP, as pointed out, is a whole different protocol.

Mark Smith

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Sun May 04, 2008 7:40 am

Mark Smith wrote:Sadly, you're right. What seems to be broken is secure sockets.

One reason that FTPS is worth considering is that if the secure sockets issue ever gets sorted out, then adding support for FTPS in libURL would simply be a matter of using a secure socket for the existing FTP routines, whereas SFTP, as pointed out, is a whole different protocol.

Mark Smith
Agreed Mark, if they could fix SSL it does look like it would be easy to impliment FTPS and is accepted by a wide veriaty of FTP servers.

As it is, it looks like cURL through the shell will work well. Only thing I'm a little stumped on is how to get results like directory listings back into rev. I'll hunt around for info on using shell from rev. If anyone knows/has good info on this around please post links.

I'm downloading putty files now and will take a look at using that. I have used putty in the past, so again I just need to learn how to pull results back into rev.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Sun May 04, 2008 4:56 pm

You could also use 'open process', 'write to process' and 'read from process' to interact with cURL.

Just a thought,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Mon May 05, 2008 1:22 am

Have you actually been able to do this, Jan? My experience is that every use of the curl command, whether "shell" or "open process" is a one-shot deal - all parameters need to be passed in one go, and a result returned - no interactivity. :(

Best,

Mark

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Mon May 05, 2008 1:28 am

keyless wrote:As it is, it looks like cURL through the shell will work well. Only thing I'm a little stumped on is how to get results like directory listings back into rev. I'll hunt around for info on using shell from rev. If anyone knows/has good info on this around please post links.
.
To get a ftp directory listing using curl (I couldn't test ftps - not supported on my server), you'd do

Code: Select all

put shell("curl ftp://uname:pword@someserver.com/somedirectory) into theDirectoryListing
Best,

Mark

Post Reply