Re: FTP

Jon Ogden <[email protected]>
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
Here it is:

https://www.dropbox.com/s/45qqjt9lzpgg7mn/FTPClass.xojo_binary_project?dl=0 <https://www.dropbox.com/s/45qqjt9lzpgg7mn/FTPClass.xojo_binary_project?dl=0>

Please note that I do rely on MonkeyBread’s CURLSMBS class to do all the heavy lifting for FTP.  The URLs for the FTP server are hard coded in this example - I note in comments where as I had set this up specifically to send data to my server and I’ve not done any work to make the class more portable.  It would be pretty simple to add it as a property though.  So that will need to be changed.  Look for it in the “PerformUpload” method.

The class uses a custom thread class of mine to do all the FTP work in the background in a thread.

Hopefully this helps.

Jon


> On Aug 25, 2017, at 3:56 PM, Jim Payne <info-n0LMRlGxw+u/[email protected]> wrote:
> 
> 
> 
> On 8/25/17 14:40, Jon Ogden wrote:
>> I have an SFTP class that I wrote for my own use.  It works pretty well.  I don’t have Xojo up right now but I can send it to you if you like.
>> 
>>> On Aug 25, 2017, at 3:38 PM, Jim Payne <info-n0LMRlGxw+u/[email protected]> wrote:
>>> 
>>> Dear Nuggers,
>>> 
>>> I could use a little help.  I need to include limited FTP ability in my software but have almost given up - and I'm pretty stubborn.
>>> 
>>> My third party stuff, FTPkit and FTPsuite died inglorious deaths.  My attempts to work through a shell instance work well enough, up to the point that I send a command to GET a file.  This always ends with a permission denied error.  (And yes, all the folder and file permissions are fine.
>>> 
>>> Any hints will be appreciated greatly.
>>> 
>>> Jim Payne
>>> 
>>> 
>>> 
>>> To unsubscribe, email [email protected]
>>> 
>> 
>> 
>> To unsubscribe, email [email protected]
> 
> Jon:
> 
> I would really, really appreciate a copy of your class.
> 
> Jim Payne
>> 
> 
> 
> 
> To unsubscribe, email [email protected]
> 




To unsubscribe, email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.