If you want to upload a file then you have to use put URL myvar into URL “ftp://….."
where myvar contains the the path to a file and as prefix file: or binfile: e.g. binfile:c:/users/matthias/documents/test.jpg > Am 21.09.2015 um 16:10 schrieb John Dixon <dixo...@hotmail.co.uk>: > > Ralph... > > In your example is myVar the path to a file ? > > >> From: rdim...@evergreeninfo.net >> To: use-livecode@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:=passw...@xyz.on-rev.com/somepath/filename.txt") >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdim...@evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-boun...@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_150...@m-r-d.de >>> Date: Mon, 21 Sep 2015 15:16:45 +0200 >>> To: use-livecode@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:herecomesthepassw...@ftp.mymftpserver.com" >>> >>> this put a text/ascii file into the root folder of the ftp account put >>> tData into >> URL"file:HERCOMESTHEUSERNAME:herecomesthepassw...@ftp.mymftpserver.com" >>> >>> or to put the text file into an existing subfolder named "testupload" >>> use >>> >>> put tData into >> URL"file:HERCOMESTHEUSERNAME:herecomesthepassw...@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 <dixo...@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@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode