Doc+Com
Active Member
- Reaction score
- 31
- Location
- Franklin, IN
Hi guys,
I'm hoping someone on the forum can help with a scripting problem that I'm trying to solve. I've exhausted all of the options that I know of and I admit, I'm not the most knowledgeable in this area and have had a few others offer suggestions but I still don't have a solution so thought I'd throw it out for some advice.
The scenario is;
What I want is a script to "get" and "put" files to a couple of sftp hosts.
My biggest issue is that the files I am "Getting" need to be renamed as they are pulled, and there might be 1 to many files. I don't have to rename the files as I "put" them up to the sftp site. However, once I have a successful "put" I must move the files on the local host to a different folder.
I am useless at Powershell scripting, so I didn't even put my script attempt up here. I tried it using the WinSCPnet.dll, but I am up to any solution. I tried using the ipswitch ws ftp but found it even less flexible than the free WinSCP.
I have uploaded the batch and SCP scripts to separate text files for review.
If anyone has some input I would really appreciate your thoughts/ideas.
I'm hoping someone on the forum can help with a scripting problem that I'm trying to solve. I've exhausted all of the options that I know of and I admit, I'm not the most knowledgeable in this area and have had a few others offer suggestions but I still don't have a solution so thought I'd throw it out for some advice.
The scenario is;
What I want is a script to "get" and "put" files to a couple of sftp hosts.
My biggest issue is that the files I am "Getting" need to be renamed as they are pulled, and there might be 1 to many files. I don't have to rename the files as I "put" them up to the sftp site. However, once I have a successful "put" I must move the files on the local host to a different folder.
I am useless at Powershell scripting, so I didn't even put my script attempt up here. I tried it using the WinSCPnet.dll, but I am up to any solution. I tried using the ipswitch ws ftp but found it even less flexible than the free WinSCP.
I have uploaded the batch and SCP scripts to separate text files for review.
If anyone has some input I would really appreciate your thoughts/ideas.
Attachments
Last edited: