John,
This works for me.
put MyVar into url
("ftp://FTPusername:[email protected]/somepath/somefile.ext")
I looks like your using your email address for the username. Create an FTP
account in cPanel FTP setup. Don't use the built in one or someone could sniff
the password to your on-rev account.
Ralph DiMola
IT Director
Evergreen Information Services
[email protected]
-----Original Message-----
From: use-livecode [mailto:[email protected]] On Behalf Of
JOHN PATTEN via use-livecode
Sent: Thursday, May 25, 2017 6:33 PM
To: How to use LiveCode
Cc: JOHN PATTEN
Subject: FTP from iOS but getting tsneterr: (67) Access denied: 530
Hi All,
I’m trying to ftp and image from the photo gallery on iOS to my on-rev account.
I’m using the example:
------------
on mouseUp
mobilepickphoto “library"
--upload to FTP
put the last image into url
("ftp://[email protected]:[email protected]/autoimage/images/newimage.jpg”)
--Informs of successful or unsuccessful upload if the result is not empty then
answer "url put failed:" && the result else answer "success!”
end if
end mouseUp
——————
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?
Thank you!
John Patten
SUSD
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode