liburlftpcommand problem

Andre Garzia andre at andregarzia.com
Wed Oct 27 09:28:14 EDT 2010


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 <andre at andregarzia.com>wrote:

> 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 <runrev260805 at m-r-d.de>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 at 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.



More information about the Use-livecode mailing list