Re: liburlftpcommand problem
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: 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 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 relative to the current folder on the server which is probably the logged user home. andre On Tue, Oct 26, 2010 at 6:33 PM, Matthias Rebbe runrev260...@m-r-d.dewrote: 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 or directory I tried list fields and scrolling list fields. But with the following script put Test3 put dele /htdocs/visit05/files/ tText into tCmd get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) it works and the file is deleted. Is there anything i am missing? Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: liburlftpcommand problem
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 relative to the current folder on the server which is probably the logged user home. andre On Tue, Oct 26, 2010 at 6:33 PM, Matthias Rebbe runrev260...@m-r-d.dewrote: 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 or directory I tried list fields and scrolling list fields. But with the following script put Test3 put dele /htdocs/visit05/files/ tText into tCmd get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) it works and the file is deleted. Is there anything i am missing? Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: liburlftpcommand problem
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 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 relative to the current folder on the server which is probably the logged user home. andre On Tue, Oct 26, 2010 at 6:33 PM, Matthias Rebbe runrev260...@m-r-d.dewrote: 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 or directory I tried list fields and scrolling list fields. But with the following script put Test3 put dele /htdocs/visit05/files/ tText into tCmd get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) it works and the file is deleted. Is there anything i am missing? Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
liburlftpcommand problem
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 or directory I tried list fields and scrolling list fields. But with the following script put Test3 put dele /htdocs/visit05/files/ tText into tCmd get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) it works and the file is deleted. Is there anything i am missing? Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: liburlftpcommand problem
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 sure that I have what I expect in the selected text, and don't have any stray extra CRs or other odd characters. -- Alex. On 26/10/2010 21:33, Matthias Rebbe wrote: 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 or directory I tried list fields and scrolling list fields. But with the following script put Test3 put dele /htdocs/visit05/files/ tText into tCmd get liburlftpcommand(tCmd, tFtpServer, tFtpUser, tFtpPass) it works and the file is deleted. Is there anything i am missing? Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution