about PutFile (General questions)
Hi,
I am new to this. I was maintaining some asp code and I found the following:
set ftpsrv = Server.CreateObject( WeOnlyDo.wodSFTPCom.1 )
ftpsrv.RealPath CStr(temp)
ftpsrv.MakeDir CStr(temp)
ftpsrv.PutFile path
The path above is the local path. temp is remote path.
The above are the main parts that I have questions about. Basically, the script checks a remote path, if it doesn't exist, it will create it. My question is, based on the manual, PutFile requires a local path and remote path, but in the code I have, only local path is defined. I was wondering how does it know where to put the files in the remote folder? Is it because there is a MakeDir before it?
In the manual, it says both localFile and remoteFile are optional. What happens when you only provide one path?
Thank you,
Zig
Complete thread:
- about PutFile - syphax, 2012-05-29, 00:01
- Re: about PutFile - woddrazen, 2012-05-29, 00:11
- Re: about PutFile - syphax, 2012-05-29, 00:31
- Re: about PutFile - syphax, 2012-05-29, 01:12
- Re: about PutFile - woddrazen, 2012-05-29, 12:09
- Re: about PutFile - syphax, 2012-05-30, 00:02
- Re: about PutFile - wodDamir, 2012-05-30, 08:57
- Re: about PutFile - syphax, 2012-05-30, 00:02
- Re: about PutFile - woddrazen, 2012-05-29, 12:09
- Re: about PutFile - syphax, 2012-05-29, 01:12
- Re: about PutFile - syphax, 2012-05-29, 00:31
- Re: about PutFile - woddrazen, 2012-05-29, 00:11