- Original Message -
From: "F. Ricardo, Ph.D." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 22, 2001 11:47 AM
Subject: FTP syntax for upload?
> 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/";
>
> I don't see the file up there, even though libURL replies
> "upload complete"
>
> I also have no way to specify the name of the uploaded
> file; I assume it'd have always to be the same name.
Since your "/in/" directory is not a container in the MC sense, maybe
that's why it's not working. Have you tried doing it with the filename
included, like "/in/foo.txt"? MC knows how to treat files as
containers, so maybe this would work.
If it works this way, it also solves your renaming problem - just
upload it under the new name. Otherwise, it seems your stack would
have to open a regular FTP session and tell the FTP server to rename
the files. (I suppose.)
Regards,
Phil
>
> This leads to the second point about FTP: how do I rename
> the file remotely, delete it, or invoke other FTP commands?
>
>
> 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.
>
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.