BULL
Posts: 336
Joined: 7/27/2006
Status: offline
|
bc747, it seems he is using Secure FTP Server from his post. That application does not have any options to move a file. cwardnet I see you are trying to use Cute FTP Pro to move a file. You could try this basic script: ' VBS Script Generated by CuteFTP (TM) macro recorder. ' Generated at: 10/1/2008 8:37:28 AM. ' Create TEConnection object Set MySite = CreateObject("CuteFTPPro.TEConnection") ' Initialize remote server host name, protocol, port, etc. MySite.Host = "MYHOST" MySite.Protocol = "FTP" MySite.Port = 21 MySite.Retries = 30 MySite.Delay = 30 MySite.MaxConnections = 100 MySite.TransferType = "AUTO" MySite.DataChannel = "DEFAULT" MySite.AutoRename = "OFF" ' WARNING!!! SENSITIVE DATA: user name and password. MySite.Login = "USER" MySite.Password = "PASS" MySite.SocksInfo = "" MySite.ProxyInfo = "" ' Connect to remote server MySite.Connect MySite.Upload "C:\mypath\*.*", "/remotepath/" MySite.Disconnect MySite.Close
|