Start a new topic

Move with Rename fails with error

plee@virtualpremise.com @ Fri Mar 14 15:45:12 EET 2014
We are seeing errors when a user tries to move and rename a file and move to a subfolder. See log below:

03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] WROTE: *226 Transfer complete. MD5=e108f1708447d73f39a63a98e912c552 ("/ftp_USERNAME/PROD/SalesDataImport/Sales201402.csv") RETR*
03/12/2014 10:40:04 AM|[518833:ftp_USERNAME:IPMASKED] WROTE: *Adding Sales201402.csv to event tracking.*
03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] READ : *PASV *
03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] WROTE: *227 Entering Passive Mode (10,1,1,71,196,23)*
03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] READ : *NLST //PROD/SalesDataImport/Processed/_Sales201402.csv*
03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] WROTE: *150 Opening data connection for file list.*
03/12/2014 10:40:04 AM|[518833:ftp_USERNAME:IPMASKED] WROTE:
03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] WROTE: *226 Directory transfer complete. (generate:328ms)(send:437ms)*
03/12/2014 10:40:04 AM|[FTP:518833:ftp_USERNAME:IPMASKED] READ : *RNFR Sales201402.csv*
03/12/2014 10:40:05 AM|[FTP:518833:ftp_USERNAME:IPMASKED] WROTE: *350 File exists, ready for new name.*
03/12/2014 10:40:05 AM|[FTP:518833:ftp_USERNAME:IPMASKED] READ : *RNTO //PROD/SalesDataImport/Processed/_Sales201402.csv*
[color=darkred]03/12/2014 10:40:05 AM|Error creating client for:{name=_Sales201402.csv, url=virtual:///ftp_USERNAME//PROD/SalesDataImport/Processed/_Sales201402.csv, root_dir=/ftp_USERNAME//PROD/SalesDataImport/Processed/, owner=owner, time_or_year=1970, privs=(read)(write)(view)(delete)(rename)(resume)(inherited), num_items=1, month=1, permissions=drwxrwxrwx, type=DIR, day=1, is_virtual=false, group=group, protocol=virtual, size=1}[/color]
03/12/2014 10:40:05 AM|ftp_USERNAME:(518833)-IPMASKED(control)

What is the source of this error? Is there an issue with supporting the rename/move in a single call?
1 Comment

spinkb @ Fri Mar 14 16:17:29 EET 2014
Your rename destination appears to be invalid.

You can rename from one folder to another...if the folders are on the same drive.

You also need to be careful on your path. Starting your path with "//" immediately indicates you have a typo as a FTP path will never have a double slash.

It also appears the destination you specified likely doesn't exist. Check the FTP path your specifying to make sure its valid...from your heavily edited log snippet its hard to say, but it looks highly likely the path forgot the first folder.

Thanks,
Ben
Login to post a comment