liburlftpcommand problem
Andre Garzia
andre at andregarzia.com
Wed Oct 27 09:26:57 EDT 2010
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.
More information about the use-livecode
mailing list