I need to log into the root of an ftp site and go to various directories accordingly. The basic ftp is no problem but I'm not sure how to approach the directory change. I'm away from the office so I can't try this until I get back. Can anyone confirm how these rules would change?
data card:
-t -a -url ftp://userassword@server/file.txt
(do I insert the dir between the server and file name like this? server/directory/file.txt)
Rule:
=PUT ("FTP", "-T -A -URL FTP://userassword@server " + SUBSTITUTE(GETFILENAME(BlobIn), GETDIRECTORY(BlobIn), "", PACKAGE(BlobOut))
{this then would change to:
server " + directory + SUBSTITUTE(GETFILENAME(BlobIn), GETDIRECTORY(BlobIn), "",
PACKAGE(BlobOut)) }
Let me know what you can. I'd like to script some of this out before I get back. Then it's cut and paste.
data card:
-t -a -url ftp://userassword@server/file.txt
(do I insert the dir between the server and file name like this? server/directory/file.txt)
Rule:
=PUT ("FTP", "-T -A -URL FTP://userassword@server " + SUBSTITUTE(GETFILENAME(BlobIn), GETDIRECTORY(BlobIn), "", PACKAGE(BlobOut))
{this then would change to:
server " + directory + SUBSTITUTE(GETFILENAME(BlobIn), GETDIRECTORY(BlobIn), "",
PACKAGE(BlobOut)) }
Let me know what you can. I'd like to script some of this out before I get back. Then it's cut and paste.