Mobile ftp TYPO

Ralph DiMola rdimola at evergreeninfo.net
Mon Sep 21 11:06:52 EDT 2015


Correction==>THERE IS NO "=" before the password. Just a ":" between the
username and password. It was a cut/paste snafu. Also as Matthias said use
"binfile:" not "file:" form for binary data.

No it's just a variable. You could:

put url ("File:"& specialFolderPath("documents") & slash & "MyFile.txt")
into MyVar

put MyVar into
url("ftp://Username:Password@xyz.on-rev.com/somepath/filename.txt")

or put it in one line:

put url ("File:"& specialFolderPath("documents") & slash & "MyFile.txt")
into url("ftp://Username:Password@xyz.on-rev.com/somepath/filename.txt")

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of John Dixon
Sent: Monday, September 21, 2015 10:10 AM
To: How to use LiveCode
Subject: RE: Mobile ftp

Ralph...

In your example is myVar the path to a file ?


> From: rdimola at evergreeninfo.net
> To: use-livecode at lists.runrev.com
> Subject: RE: Mobile ftp
> Date: Mon, 21 Sep 2015 09:55:59 -0400
> 
> John,
> 
> This works for me on mobile.
> 
> put MyVar into url
> ("ftp://Username:=Password@xyz.on-rev.com/somepath/filename.txt")
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> 
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
> Behalf Of John Dixon
> Sent: Monday, September 21, 2015 9:34 AM
> To: How to use LiveCode
> Subject: RE: Mobile ftp
> 
> Matthias...
> 
> This is working for you on mobile ?
> 
> > Subject: Re: Mobile ftp
> > From: matthias_livecode_150811 at m-r-d.de
> > Date: Mon, 21 Sep 2015 15:16:45 +0200
> > To: use-livecode at lists.runrev.com
> > 
> > Hi John,
> > 
> > to upload a file by ftp  to an ftp server you need to add the 
> > username and password to the put statement and also if the  file is 
> > a ascii/text or
> a binary file E.g.
> > 
> > 
> > put tData into
> URL"file:HERCOMESTHEUSERNAME:HERECOMESTHEPASSWORD at ftp.mymftpserver.com" 
> > 
> > this put a text/ascii file into the root folder of the ftp account 
> > put tData into
> URL"file:HERCOMESTHEUSERNAME:HERECOMESTHEPASSWORD at ftp.mymftpserver.com"
> > 
> > or to put the text file into an existing subfolder named "testupload" 
> > use
> > 
> > put tData into
> URL"file:HERCOMESTHEUSERNAME:HERECOMESTHEPASSWORD at ftp.mymftpserver.com
> /testu
> pload/"
> > 
> > 
> > Replace file with binfile if you want to upload a binary file. 
> > 
> > 
> > Regards,
> > 
> > Matthias
> > 
> > 
> > > Am 21.09.2015 um 14:21 schrieb John Dixon <dixonja at hotmail.co.uk>:
> > > 
> > > In the iOS release notes it says...
> > > 
> > > To upload a file to an FTP server you can use:
> > > put tData into url "ftp://ftp.myftpserver.com"
> > > 
> > > Could someone flesh this out a little for me... I'm not getting it 
> > > to
> work... 
> > > 
> > > 		 	   		  
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > 
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>  		 	   		  
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 		 	   		  
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list