FTP send port temporary folder file does not exist



When using FTP send port with temporary folder,
I found that there is a problem with renaming file to the destination name
which always starts with slash "/".

Rename fails like this:
< 200 PORT command successful.
> STOR {615ac580-557a-454c-8f86-ceb2e1433f5c}
< 150 Opening data connection for {615ac580-557a-454c-8f86-ceb2e1433f5c}.
< 226 Transfer complete.
> RNFR {615ac580-557a-454c-8f86-ceb2e1433f5c}
< 350 File exists, ready for destination name
> RNTO /test/msg_2005-04-12T111248.xml
< 550 rename: A file or directory in the path name does not exist.
> QUIT
< 221 Goodbye.

When rename command is run by manually and without the first flash it is
completed successfully.

I have also tried to use ../test for the destination folder but
ftp adapter is using //../test in rename. So it fails also.

Temporary folder seems to me to be the only way to use rename and
timestamped file names...or is it ?

Does someone has solution for this ?

I think this behaviour is related to the host ftp server software or the
operation system.
QUOTE SYST command gives me this
215 UNIX Type: L8 Version: BSD-44

Thanks
tk
.



Relevant Pages

  • Re: Publisher and 1&1
    ... change the FTP proxy settings to allow access ... To use Publisher read the following article: ... I do that the destination menu greys out. ... 1&1 is not really clear about how and where to upload your files. ...
    (microsoft.public.publisher.webdesign)
  • RE: reanme file with FTP will not overwrite existing file
    ... rename the file, (and overwrite) on a regular basis. ... > on a rename command with FTP. ... Here is my setup and scenario: ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: ftp/scp port forwarding
    ... Seems to me like you're running an http/https/ftp server behind NAT, ... iptables knows the FTP protocol and it can do ... command channel (port 21); the purpose of the ip_nat_ftp module is to ... > destination 192.168.0.11:80 ...
    (Fedora)
  • Re: Inet1 connecting but cant upload - any help appreciated
    ... It looks like Send and Put are interchangeable with FTP. ... Have you tried just using the filename for the Destination? ... I can upload and download files using MS FrontPage without any trouble. ...
    (microsoft.public.vb.general.discussion)
  • Using rename() across file systems
    ... Programming" by Marc Rochkind that rename will not work if the source ... and destination reside on different file systems. ... If this limitation actually does exist, my intention is to have my own ...
    (comp.unix.programmer)

Loading