Re: liburlftpcommand problem

2010-10-28 Thread Matthias Rebbe
Hi, thanks for your suggestions. In fact it was a CRLF after each entry. I got that entries from a PUT URL command, which fetches the file list from an ftp server. I removed all CRs, but forgot that there could be also CRLFs. Regards, Matthias Am 27.10.2010 um 15:28 schrieb Andre Garzia:

Re: liburlftpcommand problem

2010-10-27 Thread Andre Garzia
Matthias, A shot in the dark but is this a virtual server or shared account? If this is then there is a chance you're referencing the wrong path as the first slash will make it a full path, try something like: dele htdocs/visit05/files/ tText without the first slash. This way it will be

Re: liburlftpcommand problem

2010-10-27 Thread Andre Garzia
oh sorry I read it wrong!!! I thought it was a file not found problem and not a selectedtext problem, check out for CR in that case, the selected text might have a trailing CR at the end. On Wed, Oct 27, 2010 at 11:26 AM, Andre Garzia an...@andregarzia.comwrote: Matthias, A shot in the

liburlftpcommand problem

2010-10-26 Thread Matthias Rebbe
Hi, i want to delete a file on an ftp server. With the following script put the selectedtext of fld fListe into tText put dele /htdocs/visit05/files/ tText into tCmd get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) i get an error 550 /htdocs/visit05/files/Test3: No such file

Re: liburlftpcommand problem

2010-10-26 Thread Alex Tweedly
No clear idea, but a debugging suggestion. If it were me, I'd change your (failing) script to put the selectedtext of fld fListe into tText put dele /htdocs/visit05/files/ tText into tCmd *put tCmdCR after msg* get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) just to be