FTP from iOS but getting tsneterr: (67) Access denied: 530
charles at techstrategies.com.au
Fri May 26 03:36:24 CEST 2017
Certain characters in usernames and passwords need to be URL encoded if you want to include them in a URL string. The @ character is one of them.
Try something like his:
put urlencode("autoimage at jdoe.on-rev.com") into tUser
put urlencode("xxxxx") into tPass
put the last image into URL ("ftp://"&tUser&":"&tPass&"@jdoe.on-rev.com/autoimage/images/newimage.jpg”)
-- Sent from my iPhone
On 26 May 2017 at 08:32:55 AEST, JOHN PATTEN via use-livecode <use-livecode at lists.runrev.com> wrote:
I’m trying to ftp and image from the photo gallery on iOS to my on-rev account. I’m using the example:
--upload to FTP
put the last image into url ("ftp://firstname.lastname@example.org:email@example.com/autoimage/images/newimage.jpg”)
--Informs of successful or unsuccessful upload
if the result is not empty then
answer "url put failed:" && the result
It is throwing and an error, tsnetterr:(67) Access Denied: 530.
I can use Fetch (a mac FTP client) just fine with the same credentials and upload an image with no problem. I don’t even have to give Fetch the full ftp directory, just the host.
What am I missing?
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode