FTP "PUT" fails from Virtual Machine, but not host PC: 504 Command not implemented for that paramete
Posted
by BrianH
on Super User
See other posts from Super User
or by BrianH
Published on 2009-07-21T22:14:50Z
Indexed on
2010/04/07
7:03 UTC
Read the original article
Hit count: 301
I have an FTP Script I'm using to automate a file transfer. The transfer works fine on my PC (XP SP2), but when I try and run it on a VM on my PC (XP SP2), the "put" commands gives off:
504 Command not implemented for that parameter.
FTP File:
open [ftp site]
[username]
[password]
cd [directory on FTP server]
binary
hash
put ..\[subfolder1]\[Subfolder2]\[subfolder3]\[filename]
bye
The FTP site/server is around the world, and not under my control.
From what I understand of a 504, that means the command should NEVER work, but since the same script DOES work on my PC (hosting the VM), that eliminates syntax, file naming, etc.
The put command when triggered from the VM, actually creates a 0 length file on the target FTP server, but doesn't populate the file.
© Super User or respective owner