Re: [RDD] RDCatch FTP over TLS

2021-02-13 Thread drew Roberts
I was trying to help out last night in irc.

I tried a lot of things with curl and wget. Could not get any to work. I
did not try the + instead of @ trick in the username bit though.

The thing causing it is the cert is in a different name to the servername.

I was able to get this bash script, using lftp to work:

 #!/bin/bash
 lftp -u user,password ftp.host.com << EOF
 set ssl:check-hostname no
 cd /mp3dir
 mget *.mp3
 bye
 EOF

the line that finally made it work with lftp was:

 set ssl:check-hostname no

I do not know why:

--no-check-certificate

Does not do the same for wget or why:

-k

Does not do the same for curl...

>From irc last night:

 and this is the effort with curl which also would not work: -k, --insecure
 (TLS) By default, every SSL connection curl makes is verified to be
secure. This option allows curl to proceed and operate even for server
connections otherwise considered insecure.
 https://curl.se/docs/manpage.html

all the best,

drew

On Fri, Feb 12, 2021 at 5:34 PM wa7skg  wrote:

> And how do I incorporate that into RDCatch?
>
> Michael
>
> Kit Haskins wrote on 2/12/21 12:10 PM:
> > Would wget work ?
> >
> > wget -r --level=5 -m --no-remove-listing --reject "index.html" -c
> > --progress=dot -N --secure-protocol=auto --no-proxy --no-passive-ftp
> > --ftp-user=X --ftp-password=Y --no-check-certificate
> > ftps://.com:21
> >
> >
> > from:
> >
> >
> https://stackoverflow.com/questions/38312403/download-all-files-via-ftp-with-explicit-tls-ssl-encryption
> >
> >
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-12 Thread wa7skg

That is outside of my skill set.

Michael


Ben Hamilton (Ben Bradshaw) wrote on 2/12/21 12:21 PM:

Can you recompile curl with ftpes support?

Sent from my iPhone


On Feb 12, 2021, at 2:15 PM, wa7skg  wrote:

I finally found the answer, but it doesn't help.

Supposedly, to use FTP over TLS in EXPLICIT mode, you use ftpes instead of 
ftps. However, that kicks back with

curl: (1) Protocol ftpes not supported or disabled in libcurl

So, I guess we're either going to have to do it manually in Filezilla or drop 
the program.

Michael



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS

2021-02-12 Thread wa7skg

And how do I incorporate that into RDCatch?

Michael

Kit Haskins wrote on 2/12/21 12:10 PM:

Would wget work ?

wget -r --level=5 -m --no-remove-listing --reject "index.html" -c 
--progress=dot -N --secure-protocol=auto --no-proxy --no-passive-ftp 
--ftp-user=X --ftp-password=Y --no-check-certificate 
ftps://.com:21



from:

https://stackoverflow.com/questions/38312403/download-all-files-via-ftp-with-explicit-tls-ssl-encryption



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-12 Thread Ben Hamilton (Ben Bradshaw)
Can you recompile curl with ftpes support?

Sent from my iPhone

> On Feb 12, 2021, at 2:15 PM, wa7skg  wrote:
> 
> I finally found the answer, but it doesn't help.
> 
> Supposedly, to use FTP over TLS in EXPLICIT mode, you use ftpes instead of 
> ftps. However, that kicks back with
> 
> curl: (1) Protocol ftpes not supported or disabled in libcurl
> 
> So, I guess we're either going to have to do it manually in Filezilla or drop 
> the program.
> 
> Michael
> 
> 
> 
> 
> David Klann wrote on 2/11/21 8:46 PM:
>>> On 2/11/21 21:54, wa7skg wrote:
>>> 
>>> Sorry, no joy.
>>> 
>>> I can't get RDCatch to work for me over SSH right now.
>>> 
>>> I'm trying this initially using curl from cli.
>>> 
>>> curl -u u...@host.com:password  ftps://hostname.com/path/program.mp3
>>> 
>>> I get the error
>>> 
>>> curl: (7) Failed connect to hostname.com:990; Connection timed out
>>> 
>>> when I try normally.  If I try specifying the port
>>> 
>>> curl -u u...@host.com:password  ftps://hostname.com:21/path/program.mp3
>>> 
>>> I get
>>> 
>>> curl: (35) I/O operation timed out
>>> 
>>> I think there is more to it than just specifying the port between
>>> implicit and explicit.
>>> 
>> Well, that's a reasonable troubleshooting approach. If you can't make
>> the curl CLI do it, then you certainly won't be able to do it in
>> RDCatch. Maybe the curl manual page has more to say about this?
>> Otherwise, I suggest capturing the traffic with tcpdump(1) or tshark(1)
>> and then analyzing it in wireshark(1). At least that way you can get a
>> clue as to why the remote end isn't playing nicely...
>> This is part of why Rivendell has supported SFTP for a long time, and
>> has not supported FTPS until just recently: FTPS is a huge worm pile and
>> the "standards" (RFC's) are not all that helpful.
>>~David Klann
>>> Michael
>>> 
>>> 
>>> 
>>> 
>>> 
>>> David Klann wrote on 2/11/21 7:11 PM:
 On 2/11/21 17:44, wa7skg wrote:
> 
> I think I found my problem. There are two types of FTP over TLS.
> Explicit uses port 21 while implicit uses port 990. Apparently
> RDCatch/curl uses implicit over port 990, which the host does not
> accept. In Filezilla, I have an option to select implicit or explicit.
> Is there any way to specify that in RDCatch? The host is not accepting a
> connection via port 990.
> 
> Thanks,
> Michael
> 
 
 I believe you can specify the port in the FTP URL. Something like:
 
ftps://host.name.com:21/file/path/here.wav
 
 I just tried this with an FTPS server that *only* listens on TCP port
 990, so I can't say for sure that it will work for you on port 21, but
 it's worth a try.
 
  ~David Klann
 
> 
> wa7skg wrote on 2/9/21 11:47 AM:
>> Thank you for the FTPS tip. I never saw that as an option anywhere. I
>> haven't dealt with FTP over TLS before, and there is no reference to it
>> in the OpsGuide.
>> 
>> As far as the @ is concerned, I was just getting a "failed to connect"
>> error. I tried the username\@hostname escape, but RDCatch did not accept
>> it in the username. I'll try the url-encoding tip and see what happens.
>> 
>> I'll have to research the cURL library.
>> 
>> Thanks for the suggestions.
>> 
>> Michael
>> 
>> 
>> David Klann wrote on 2/9/21 9:26 AM:
>>> FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
>>> starting with Rivendell 3.5.0. SFTP has been supported for a long time,
>>> FTPS support is new.
>>> 
>>> The URL should look like: ftps://host.name/path-maybe-with-wildcards
>>> 
>>> In what way does the "@" foul things up? I wonder if escaping it with
>>> "\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
>>> username%40hostname). If you try the latter, you might need to use two
>>> "%" symbols otherwise RDCatch may think you are trying to use a "percent
>>> wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
>>> percent wildcards in the username field.
>>> 
>>> In any event, Rivendell (RDCatch) uses the cURL library to perform the
>>> actual download. That library may impose other constraints on the
>>> username.
>>> 
>>> Hope this helps, good luck!
>>> 
>>>~David Klann
>>> 
>>> 
>>> On 2/9/21 10:27, wa7skg wrote:
 
 We have a program provider who has changed his ftp server and  I have
 run into two issues.
 
 First, he specifies he is using FTP over TLS. I'm not sure how to set
 this up in RDCatch.
 
 The other problem is he is using an email address for a username. I 
 know
 this is common for users accessing websites, but the first I have seen
 it for FTP access. Naturally the @ in the username fouls things up. How
 can I properly utilize the @ in a username in RDCatch?
>>

Re: [RDD] RDCatch FTP over TLS

2021-02-12 Thread Kit Haskins
Would wget work ?



wget -r --level=5 -m --no-remove-listing --reject "index.html" -c 
--progress=dot -N --secure-protocol=auto --no-proxy --no-passive-ftp 
--ftp-user=X --ftp-password=Y --no-check-certificate 
ftps://.com:21





from:https://stackoverflow.com/questions/38312403/download-all-files-via-ftp-with-explicit-tls-ssl-encryption







---

Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .

mailto:k...@ka0wuc.org



When I was 10, I caught the radio bug, it appears to be over ...






 On Tue, 09 Feb 2021 09:27:07 -0700 wa7skg  wrote 



We have a program provider who has changed his ftp server and  I have 
run into two issues. 
 
First, he specifies he is using FTP over TLS. I'm not sure how to set 
this up in RDCatch. 
 
The other problem is he is using an email address for a username. I know 
this is common for users accessing websites, but the first I have seen 
it for FTP access. Naturally the @ in the username fouls things up. How 
can I properly utilize the @ in a username in RDCatch? 
 
Thanks. 
 
 
-- 
73, 
Michael WA7SKG 
 
"Any day you do not learn one new thing is a wasted day." 
___ 
Rivendell-dev mailing list 
mailto:Rivendell-dev@lists.rivendellaudio.org 
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-12 Thread wa7skg

I finally found the answer, but it doesn't help.

Supposedly, to use FTP over TLS in EXPLICIT mode, you use ftpes instead 
of ftps. However, that kicks back with


curl: (1) Protocol ftpes not supported or disabled in libcurl

So, I guess we're either going to have to do it manually in Filezilla or 
drop the program.


Michael




David Klann wrote on 2/11/21 8:46 PM:

On 2/11/21 21:54, wa7skg wrote:


Sorry, no joy.

I can't get RDCatch to work for me over SSH right now.

I'm trying this initially using curl from cli.

curl -u u...@host.com:password  ftps://hostname.com/path/program.mp3

I get the error

curl: (7) Failed connect to hostname.com:990; Connection timed out

when I try normally.  If I try specifying the port

curl -u u...@host.com:password  ftps://hostname.com:21/path/program.mp3

I get

curl: (35) I/O operation timed out

I think there is more to it than just specifying the port between
implicit and explicit.



Well, that's a reasonable troubleshooting approach. If you can't make
the curl CLI do it, then you certainly won't be able to do it in
RDCatch. Maybe the curl manual page has more to say about this?

Otherwise, I suggest capturing the traffic with tcpdump(1) or tshark(1)
and then analyzing it in wireshark(1). At least that way you can get a
clue as to why the remote end isn't playing nicely...

This is part of why Rivendell has supported SFTP for a long time, and
has not supported FTPS until just recently: FTPS is a huge worm pile and
the "standards" (RFC's) are not all that helpful.

~David Klann



Michael





David Klann wrote on 2/11/21 7:11 PM:

On 2/11/21 17:44, wa7skg wrote:


I think I found my problem. There are two types of FTP over TLS.
Explicit uses port 21 while implicit uses port 990. Apparently
RDCatch/curl uses implicit over port 990, which the host does not
accept. In Filezilla, I have an option to select implicit or explicit.
Is there any way to specify that in RDCatch? The host is not accepting a
connection via port 990.

Thanks,
Michael



I believe you can specify the port in the FTP URL. Something like:

ftps://host.name.com:21/file/path/here.wav

I just tried this with an FTPS server that *only* listens on TCP port
990, so I can't say for sure that it will work for you on port 21, but
it's worth a try.

  ~David Klann



wa7skg wrote on 2/9/21 11:47 AM:

Thank you for the FTPS tip. I never saw that as an option anywhere. I
haven't dealt with FTP over TLS before, and there is no reference to it
in the OpsGuide.

As far as the @ is concerned, I was just getting a "failed to connect"
error. I tried the username\@hostname escape, but RDCatch did not accept
it in the username. I'll try the url-encoding tip and see what happens.

I'll have to research the cURL library.

Thanks for the suggestions.

Michael


David Klann wrote on 2/9/21 9:26 AM:

FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
starting with Rivendell 3.5.0. SFTP has been supported for a long time,
FTPS support is new.

The URL should look like: ftps://host.name/path-maybe-with-wildcards

In what way does the "@" foul things up? I wonder if escaping it with
"\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
username%40hostname). If you try the latter, you might need to use two
"%" symbols otherwise RDCatch may think you are trying to use a "percent
wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
percent wildcards in the username field.

In any event, Rivendell (RDCatch) uses the cURL library to perform the
actual download. That library may impose other constraints on the
username.

Hope this helps, good luck!

    ~David Klann


On 2/9/21 10:27, wa7skg wrote:


We have a program provider who has changed his ftp server and  I have
run into two issues.

First, he specifies he is using FTP over TLS. I'm not sure how to set
this up in RDCatch.

The other problem is he is using an email address for a username. I know
this is common for users accessing websites, but the first I have seen
it for FTP access. Naturally the @ in the username fouls things up. How
can I properly utilize the @ in a username in RDCatch?

Thanks.


--
73,

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-12 Thread David Klann
On 2/11/21 21:54, wa7skg wrote:
> 
> Sorry, no joy.
> 
> I can't get RDCatch to work for me over SSH right now.
> 
> I'm trying this initially using curl from cli.
> 
> curl -u u...@host.com:password  ftps://hostname.com/path/program.mp3
> 
> I get the error
> 
> curl: (7) Failed connect to hostname.com:990; Connection timed out
> 
> when I try normally.  If I try specifying the port
> 
> curl -u u...@host.com:password  ftps://hostname.com:21/path/program.mp3
> 
> I get
> 
> curl: (35) I/O operation timed out
> 
> I think there is more to it than just specifying the port between
> implicit and explicit.
> 

Well, that's a reasonable troubleshooting approach. If you can't make 
the curl CLI do it, then you certainly won't be able to do it in 
RDCatch. Maybe the curl manual page has more to say about this?

Otherwise, I suggest capturing the traffic with tcpdump(1) or tshark(1) 
and then analyzing it in wireshark(1). At least that way you can get a 
clue as to why the remote end isn't playing nicely...

This is part of why Rivendell has supported SFTP for a long time, and 
has not supported FTPS until just recently: FTPS is a huge worm pile and 
the "standards" (RFC's) are not all that helpful.

   ~David Klann


> Michael
> 
> 
> 
> 
> 
> David Klann wrote on 2/11/21 7:11 PM:
>> On 2/11/21 17:44, wa7skg wrote:
>>>
>>> I think I found my problem. There are two types of FTP over TLS.
>>> Explicit uses port 21 while implicit uses port 990. Apparently
>>> RDCatch/curl uses implicit over port 990, which the host does not
>>> accept. In Filezilla, I have an option to select implicit or explicit.
>>> Is there any way to specify that in RDCatch? The host is not accepting a
>>> connection via port 990.
>>>
>>> Thanks,
>>> Michael
>>>
>>
>> I believe you can specify the port in the FTP URL. Something like:
>>
>>ftps://host.name.com:21/file/path/here.wav
>>
>> I just tried this with an FTPS server that *only* listens on TCP port
>> 990, so I can't say for sure that it will work for you on port 21, but
>> it's worth a try.
>>
>>  ~David Klann
>>
>>>
>>> wa7skg wrote on 2/9/21 11:47 AM:
 Thank you for the FTPS tip. I never saw that as an option anywhere. I
 haven't dealt with FTP over TLS before, and there is no reference to it
 in the OpsGuide.

 As far as the @ is concerned, I was just getting a "failed to connect"
 error. I tried the username\@hostname escape, but RDCatch did not accept
 it in the username. I'll try the url-encoding tip and see what happens.

 I'll have to research the cURL library.

 Thanks for the suggestions.

 Michael


 David Klann wrote on 2/9/21 9:26 AM:
> FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
> starting with Rivendell 3.5.0. SFTP has been supported for a long time,
> FTPS support is new.
>
> The URL should look like: ftps://host.name/path-maybe-with-wildcards
>
> In what way does the "@" foul things up? I wonder if escaping it with
> "\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
> username%40hostname). If you try the latter, you might need to use two
> "%" symbols otherwise RDCatch may think you are trying to use a "percent
> wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
> percent wildcards in the username field.
>
> In any event, Rivendell (RDCatch) uses the cURL library to perform the
> actual download. That library may impose other constraints on the
> username.
>
> Hope this helps, good luck!
>
>    ~David Klann
>
>
> On 2/9/21 10:27, wa7skg wrote:
>>
>> We have a program provider who has changed his ftp server and  I have
>> run into two issues.
>>
>> First, he specifies he is using FTP over TLS. I'm not sure how to set
>> this up in RDCatch.
>>
>> The other problem is he is using an email address for a username. I know
>> this is common for users accessing websites, but the first I have seen
>> it for FTP access. Naturally the @ in the username fouls things up. How
>> can I properly utilize the @ in a username in RDCatch?
>>
>> Thanks.
>>
>>
>> --
>> 73,
>> Michael WA7SKG
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-11 Thread David Klann
On 2/11/21 17:44, wa7skg wrote:
> 
> I think I found my problem. There are two types of FTP over TLS.
> Explicit uses port 21 while implicit uses port 990. Apparently
> RDCatch/curl uses implicit over port 990, which the host does not
> accept. In Filezilla, I have an option to select implicit or explicit.
> Is there any way to specify that in RDCatch? The host is not accepting a
> connection via port 990.
> 
> Thanks,
> Michael
> 

I believe you can specify the port in the FTP URL. Something like:

 ftps://host.name.com:21/file/path/here.wav

I just tried this with an FTPS server that *only* listens on TCP port 
990, so I can't say for sure that it will work for you on port 21, but 
it's worth a try.

   ~David Klann

> 
> wa7skg wrote on 2/9/21 11:47 AM:
>> Thank you for the FTPS tip. I never saw that as an option anywhere. I
>> haven't dealt with FTP over TLS before, and there is no reference to it
>> in the OpsGuide.
>>
>> As far as the @ is concerned, I was just getting a "failed to connect"
>> error. I tried the username\@hostname escape, but RDCatch did not accept
>> it in the username. I'll try the url-encoding tip and see what happens.
>>
>> I'll have to research the cURL library.
>>
>> Thanks for the suggestions.
>>
>> Michael
>>
>>
>> David Klann wrote on 2/9/21 9:26 AM:
>>> FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
>>> starting with Rivendell 3.5.0. SFTP has been supported for a long time,
>>> FTPS support is new.
>>>
>>> The URL should look like: ftps://host.name/path-maybe-with-wildcards
>>>
>>> In what way does the "@" foul things up? I wonder if escaping it with
>>> "\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
>>> username%40hostname). If you try the latter, you might need to use two
>>> "%" symbols otherwise RDCatch may think you are trying to use a "percent
>>> wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
>>> percent wildcards in the username field.
>>>
>>> In any event, Rivendell (RDCatch) uses the cURL library to perform the
>>> actual download. That library may impose other constraints on the
>>> username.
>>>
>>> Hope this helps, good luck!
>>>
>>>      ~David Klann
>>>
>>>
>>> On 2/9/21 10:27, wa7skg wrote:

 We have a program provider who has changed his ftp server and  I have
 run into two issues.

 First, he specifies he is using FTP over TLS. I'm not sure how to set
 this up in RDCatch.

 The other problem is he is using an email address for a username. I know
 this is common for users accessing websites, but the first I have seen
 it for FTP access. Naturally the @ in the username fouls things up. How
 can I properly utilize the @ in a username in RDCatch?

 Thanks.


 --
 73,
 Michael WA7SKG
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-11 Thread wa7skg

Sorry, no joy.

I can't get RDCatch to work for me over SSH right now.

I'm trying this initially using curl from cli.

curl -u u...@host.com:password  ftps://hostname.com/path/program.mp3

I get the error

curl: (7) Failed connect to hostname.com:990; Connection timed out

when I try normally.  If I try specifying the port

curl -u u...@host.com:password  ftps://hostname.com:21/path/program.mp3

I get

curl: (35) I/O operation timed out

I think there is more to it than just specifying the port between 
implicit and explicit.


Michael





David Klann wrote on 2/11/21 7:11 PM:

On 2/11/21 17:44, wa7skg wrote:


I think I found my problem. There are two types of FTP over TLS.
Explicit uses port 21 while implicit uses port 990. Apparently
RDCatch/curl uses implicit over port 990, which the host does not
accept. In Filezilla, I have an option to select implicit or explicit.
Is there any way to specify that in RDCatch? The host is not accepting a
connection via port 990.

Thanks,
Michael



I believe you can specify the port in the FTP URL. Something like:

  ftps://host.name.com:21/file/path/here.wav

I just tried this with an FTPS server that *only* listens on TCP port
990, so I can't say for sure that it will work for you on port 21, but
it's worth a try.

~David Klann



wa7skg wrote on 2/9/21 11:47 AM:

Thank you for the FTPS tip. I never saw that as an option anywhere. I
haven't dealt with FTP over TLS before, and there is no reference to it
in the OpsGuide.

As far as the @ is concerned, I was just getting a "failed to connect"
error. I tried the username\@hostname escape, but RDCatch did not accept
it in the username. I'll try the url-encoding tip and see what happens.

I'll have to research the cURL library.

Thanks for the suggestions.

Michael


David Klann wrote on 2/9/21 9:26 AM:

FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
starting with Rivendell 3.5.0. SFTP has been supported for a long time,
FTPS support is new.

The URL should look like: ftps://host.name/path-maybe-with-wildcards

In what way does the "@" foul things up? I wonder if escaping it with
"\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
username%40hostname). If you try the latter, you might need to use two
"%" symbols otherwise RDCatch may think you are trying to use a "percent
wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
percent wildcards in the username field.

In any event, Rivendell (RDCatch) uses the cURL library to perform the
actual download. That library may impose other constraints on the
username.

Hope this helps, good luck!

      ~David Klann


On 2/9/21 10:27, wa7skg wrote:


We have a program provider who has changed his ftp server and  I have
run into two issues.

First, he specifies he is using FTP over TLS. I'm not sure how to set
this up in RDCatch.

The other problem is he is using an email address for a username. I know
this is common for users accessing websites, but the first I have seen
it for FTP access. Naturally the @ in the username fouls things up. How
can I properly utilize the @ in a username in RDCatch?

Thanks.


--
73,
Michael WA7SKG

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS - PORT PROBLEM

2021-02-11 Thread wa7skg
I think I found my problem. There are two types of FTP over TLS. 
Explicit uses port 21 while implicit uses port 990. Apparently 
RDCatch/curl uses implicit over port 990, which the host does not 
accept. In Filezilla, I have an option to select implicit or explicit. 
Is there any way to specify that in RDCatch? The host is not accepting a 
connection via port 990.


Thanks,
Michael


wa7skg wrote on 2/9/21 11:47 AM:
Thank you for the FTPS tip. I never saw that as an option anywhere. I 
haven't dealt with FTP over TLS before, and there is no reference to it 
in the OpsGuide.


As far as the @ is concerned, I was just getting a "failed to connect" 
error. I tried the username\@hostname escape, but RDCatch did not accept 
it in the username. I'll try the url-encoding tip and see what happens.


I'll have to research the cURL library.

Thanks for the suggestions.

Michael


David Klann wrote on 2/9/21 9:26 AM:

FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
starting with Rivendell 3.5.0. SFTP has been supported for a long time,
FTPS support is new.

The URL should look like: ftps://host.name/path-maybe-with-wildcards

In what way does the "@" foul things up? I wonder if escaping it with
"\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
username%40hostname). If you try the latter, you might need to use two
"%" symbols otherwise RDCatch may think you are trying to use a "percent
wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
percent wildcards in the username field.

In any event, Rivendell (RDCatch) uses the cURL library to perform the
actual download. That library may impose other constraints on the 
username.


Hope this helps, good luck!

    ~David Klann


On 2/9/21 10:27, wa7skg wrote:


We have a program provider who has changed his ftp server and  I have
run into two issues.

First, he specifies he is using FTP over TLS. I'm not sure how to set
this up in RDCatch.

The other problem is he is using an email address for a username. I know
this is common for users accessing websites, but the first I have seen
it for FTP access. Naturally the @ in the username fouls things up. How
can I properly utilize the @ in a username in RDCatch?

Thanks.


--
73,
Michael WA7SKG

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS

2021-02-09 Thread Eric Adler
You might need double backslash... But I doubt it.  You might at a command
line though...  Can you try with curl directly?

 Also I seem to remember some ftp daemons that supported + in lieu of @ for
usernames with "@" in them, perhaps this is one of them?

Eric

On Tue, Feb 9, 2021, 2:47 PM wa7skg  wrote:

> Thank you for the FTPS tip. I never saw that as an option anywhere. I
> haven't dealt with FTP over TLS before, and there is no reference to it
> in the OpsGuide.
>
> As far as the @ is concerned, I was just getting a "failed to connect"
> error. I tried the username\@hostname escape, but RDCatch did not accept
> it in the username. I'll try the url-encoding tip and see what happens.
>
> I'll have to research the cURL library.
>
> Thanks for the suggestions.
>
> Michael
>
>
> David Klann wrote on 2/9/21 9:26 AM:
> > FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
> > starting with Rivendell 3.5.0. SFTP has been supported for a long time,
> > FTPS support is new.
> >
> > The URL should look like: ftps://host.name/path-maybe-with-wildcards
> >
> > In what way does the "@" foul things up? I wonder if escaping it with
> > "\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
> > username%40hostname). If you try the latter, you might need to use two
> > "%" symbols otherwise RDCatch may think you are trying to use a "percent
> > wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
> > percent wildcards in the username field.
> >
> > In any event, Rivendell (RDCatch) uses the cURL library to perform the
> > actual download. That library may impose other constraints on the
> username.
> >
> > Hope this helps, good luck!
> >
> > ~David Klann
> >
> >
> > On 2/9/21 10:27, wa7skg wrote:
> >>
> >> We have a program provider who has changed his ftp server and  I have
> >> run into two issues.
> >>
> >> First, he specifies he is using FTP over TLS. I'm not sure how to set
> >> this up in RDCatch.
> >>
> >> The other problem is he is using an email address for a username. I know
> >> this is common for users accessing websites, but the first I have seen
> >> it for FTP access. Naturally the @ in the username fouls things up. How
> >> can I properly utilize the @ in a username in RDCatch?
> >>
> >> Thanks.
> >>
> >>
> >> --
> >> 73,
> >> Michael WA7SKG
> >>
> >> "Any day you do not learn one new thing is a wasted day."
> >> ___
> >> Rivendell-dev mailing list
> >> Rivendell-dev@lists.rivendellaudio.org
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >>
> >
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS

2021-02-09 Thread David Klann
FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported 
starting with Rivendell 3.5.0. SFTP has been supported for a long time, 
FTPS support is new.

The URL should look like: ftps://host.name/path-maybe-with-wildcards

In what way does the "@" foul things up? I wonder if escaping it with 
"\" (as in (username\@hostname) or "url-encoding" the at-sign (as in 
username%40hostname). If you try the latter, you might need to use two 
"%" symbols otherwise RDCatch may think you are trying to use a "percent 
wildcard"; I kind of doubt this, but I do not know if RDCatch looks for 
percent wildcards in the username field.

In any event, Rivendell (RDCatch) uses the cURL library to perform the 
actual download. That library may impose other constraints on the username.

Hope this helps, good luck!

   ~David Klann


On 2/9/21 10:27, wa7skg wrote:
> 
> We have a program provider who has changed his ftp server and  I have
> run into two issues.
> 
> First, he specifies he is using FTP over TLS. I'm not sure how to set
> this up in RDCatch.
> 
> The other problem is he is using an email address for a username. I know
> this is common for users accessing websites, but the first I have seen
> it for FTP access. Naturally the @ in the username fouls things up. How
> can I properly utilize the @ in a username in RDCatch?
> 
> Thanks.
> 
> 
> --
> 73,
> Michael WA7SKG
> 
> "Any day you do not learn one new thing is a wasted day."
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDCatch FTP over TLS

2021-02-09 Thread wa7skg
Thank you for the FTPS tip. I never saw that as an option anywhere. I 
haven't dealt with FTP over TLS before, and there is no reference to it 
in the OpsGuide.


As far as the @ is concerned, I was just getting a "failed to connect" 
error. I tried the username\@hostname escape, but RDCatch did not accept 
it in the username. I'll try the url-encoding tip and see what happens.


I'll have to research the cURL library.

Thanks for the suggestions.

Michael


David Klann wrote on 2/9/21 9:26 AM:

FTPS (FTP over TLS, as opposed to SFTP, Secure Shell FTP) is supported
starting with Rivendell 3.5.0. SFTP has been supported for a long time,
FTPS support is new.

The URL should look like: ftps://host.name/path-maybe-with-wildcards

In what way does the "@" foul things up? I wonder if escaping it with
"\" (as in (username\@hostname) or "url-encoding" the at-sign (as in
username%40hostname). If you try the latter, you might need to use two
"%" symbols otherwise RDCatch may think you are trying to use a "percent
wildcard"; I kind of doubt this, but I do not know if RDCatch looks for
percent wildcards in the username field.

In any event, Rivendell (RDCatch) uses the cURL library to perform the
actual download. That library may impose other constraints on the username.

Hope this helps, good luck!

~David Klann


On 2/9/21 10:27, wa7skg wrote:


We have a program provider who has changed his ftp server and  I have
run into two issues.

First, he specifies he is using FTP over TLS. I'm not sure how to set
this up in RDCatch.

The other problem is he is using an email address for a username. I know
this is common for users accessing websites, but the first I have seen
it for FTP access. Naturally the @ in the username fouls things up. How
can I properly utilize the @ in a username in RDCatch?

Thanks.


--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RDCatch FTP over TLS

2021-02-09 Thread wa7skg
We have a program provider who has changed his ftp server and  I have 
run into two issues.


First, he specifies he is using FTP over TLS. I'm not sure how to set 
this up in RDCatch.


The other problem is he is using an email address for a username. I know 
this is common for users accessing websites, but the first I have seen 
it for FTP access. Naturally the @ in the username fouls things up. How 
can I properly utilize the @ in a username in RDCatch?


Thanks.


--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev