Hi,
I was having problems changing directory using ftpWebRequest using the
following constructs.
ID ftp://qxxxx.net:4211 string << this works fine.
ID "ftp://qxxxx.net/faer/:4211" string. Doesnt work
ID "ftp://qxxxx.net/faer:4211" string. Doesnt work
ID "ftp://qxxxx.net/%2F/faer:4211" string. Doesnt work
ID "ftp://qxxxx.net/%2F/faer/:4211" string. Doesnt work
ID "ftp://qxxxx.net/%2F/faer/ :4211" string. Doesnt work
I was getting the error "Unable to connect to the remote server". So I ran
WireShark to see what was happening.
First construct works fine and I connect to 4211
With the other constructs,the application appears to attempt to connect to
port 21 rather than 4401.
So, I'm assuming it's my string format that's incorrect.
Can anyone correct it please?