Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

OK, but can you attach a log showing a successful download of the file, but a failed download of the directory, in the same session?
Guest

martin wrote:

Do you mean that you can download a file from /Download/ (say /Download/file.txt) to D:\file.txt, but you cannot "download" a directory /Download/Encounter to D:\Encounter?


Yes you are correct!

I include WinSCP Log.
martin

Do you mean that you can download a file from /Download/ (say /Download/file.txt) to D:\file.txt, but you cannot "download" a directory /Download/Encounter to D:\Encounter?

Please attach a full log file showing that (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
elecboy

prikryl I have now a problem, I can download everything if it is not inside a folder, this is the command I am using:

"get -neweronly -preservetime /Download/* d:\"

They created a Folder called "Encounter" inside /Download/ so when WinSCP tries to download that folder I get and error, this is what I see in the logs:

2016-04-27 09:50:51.278 File: '/Download/Encounter' [2016-04-27T13:27:44.000Z] [0]
* 2016-04-27 09:50:51.278 (EOSError) System Error. Code: 3.
* 2016-04-27 09:50:51.278 The system cannot find the path specified
. 2016-04-27 09:50:51.278 Asking user:
. 2016-04-27 09:50:51.278 Error creating folder 'd:\Encounter'. ("System Error. Code: 3.
. 2016-04-27 09:50:51.278 The system cannot find the path specified")
< 2016-04-27 09:50:51.278 Script: Error creating folder 'd:\Encounter'.

Thanks you!
elecboy

Great Thank you very much!!!
martin

Re: How to Upload and Download specific directory.

"get -neweronly -preservetime /download/* d:\"

"put -neweronly u:\Docs\* /upload/"
elecboy

How to Upload and Download specific directory.

I have been killing myself trying to download or upload a file to a specific folder, here is my command:

For Get I will like it to go to a remote folder called "download" and put everything in "d:\" in my local machine :

"get -neweronly -preservetime /* d:\"




For Put I will like to go to a remote folder called "upload" and put everything in "U:\Docs" in my local machine:

"put -neweronly u:\* /"

Thanks!