This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am using files from a server drive that are to be uploaded to the SFTP on a weekly basis, and am seeking to automate the process, rather than having to spend time manually performing this process. I am attempting to upload files to an sftp automatically using the download tool, Using the tutorial here:
"I'm running my SFTP server on localhost port 22334 and I want to save my file on the root directory of the SFTP server therefore my URL is sftp://localhost:22334/filename.xlsx. Don't forget to start the URL with sftp:// or ftp:// depending on what protocol the server is running. I also add the file location in the second field."
I added the sftp:// to the filename, but how do I add the port specification?
I updated the address field according to the above using the ftp:// and specifying the port number, but found that did not work, and instead I received the following error:
error transferring data: couldnt connect to server uploading to sftp
Then I realized I had to specify the file name within the address, and I stripped the ftp:// and port specification, and simply added the file name to the end like so: ftp.blahblahblah.com/file1.csv - Which worked!