Sending an FTP command from one web server to another?

Tim Selander selander at tkf.att.ne.jp
Tue Jul 18 08:57:33 EDT 2017


Hi again,

Reporting back for....

RevRun support was very quick at activating ssh on my account -- 
thanks!

However, using ftp from the commandline to gmoserver.jp resulted 
in the same message: connection refused

OK, time to take a new tack on the problem!

Thanks for the tip, Matthias.

Tim Selander
Tokyo, Japan

On 2017.07.18, 19:12, Matthias Rebbe via use-livecode wrote:
> 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
>
> _______________________________________________
> 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