"F. Ricardo, Ph.D." wrote:
> 
> Hi, gang,
> 
> I'm trying to specify how to upload a file to a location
> via FTP. The "normal" methods don't seem appropriate.
> 
> If I say
>   put url "file:c:/foo.txt" into url "ftp://usr:[EMAIL PROTECTED]/in/";

The correct syntax is:
put url "file:c:/foo.txt" into url "ftp://usr:[EMAIL PROTECTED]/in/foo.txt";

> 
> I don't see the file up there, even though libURL replies
> "upload complete"

That is a mistake, I'll fix it.

> 
> I also have no way to specify the name of the uploaded
> file; I assume it'd have always to be the same name.

Correct. 

> 
> This leads to the second point about FTP: how do I rename
> the file remotely, delete it, or invoke other FTP commands?

Use delete url "ftp://usr:[EMAIL PROTECTED]/in/foo.txt";

I just tested both commands and they work, the user feedback obviously
needs some work.
Make sure you have the right paths to files.

> 
> Thanks!
> FJR
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
>http://im.yahoo.com
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

-- 
Regards, Andu
_______________
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to