Sending an FTP command from one web server to another?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Tue Jul 18 12:12:53 CEST 2017


Do you have ssh access for your on-rev  account? If not, ask support to enable it for you.

Try to use ftp from the commandline, just to see if gmoserver.jp <http://gmoserver.jp/> accepts that connection. If that also doesn´t work, then i would assume that your server is blocking the incoming connection from on-rev. If that works, then  livecode server seems to have a problem with ftp outgoing connections.

Matthias
Matthias Rebbe
+49 5741 310000
‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌

> Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> Hi,
> 
> My company gave up on hosting our email and website at on-rev.com <http://on-rev.com/> back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable.
> 
> I still have our Founder's account on on-rev.com <http://on-rev.com/>, and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host.
> 
> Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com <http://on-rev.com/> to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist:
> put url "ftp://user:pass@domain.com/folder/ <ftp://user:pass@domain.com/folder/>" into myVariable
> 
> Put when I call it from the server .lc script on on-rev, the result is:
> error Failed to connect to gmoserver.jp <http://gmoserver.jp/> port 21: Connection refused
> 
> (gmoserver.jp <http://gmoserver.jp/> is our new host here in Japan.)
> 
> Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this?
> 
> Thanks in advance.
> 
> Tim Selander
> Tokyo, Japan
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto: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